SelectionSort extension
- on
Methods
-
sort(
Comparator< JSAny?> compare) → Selection -
Available on Selection, provided by the SelectionSort extension
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).