Module sorting

Source

Functionsยง

is_sorted_ascending
Returns whether the given values are sorted in ascending order.
stable_sort
Stable sorts a collection of objects based on a key function and an optional descending flag.
unsort
Restores the original order of a collection of objects based on their original indices.