SelectionSort extension

on

Methods

sort(Comparator<JSAny?> compare) Selection
Returns a new selection that contains a copy of each group in this selection sorted according to the compare function. After sorting, re-inserts elements to match the resulting order (per selection.order).