DimaPen

Results 2 issues of DimaPen

…earlier. Immediately after shuffling there is a sorting function. The comparator is better to be initialized before the constructor execution.

Otherwise too many objects are repeatedly generated and the garbage collector is constantly involved in memory release.