std.sort
std.sort: sorting a slice in place, ordered by a `less` function.
sort
pub fn sort(comptime T: type, items: []mut T, less: fn(T, T) bool)
Sorts `items` so that no element is `less` than the one before it. `less(a, b)` says whether `a` goes before `b`; it must be a strict order (`less(a, a)` is false). Not stable: equal elements may change places (break ties in `less`). Allocates nothing; O(n log n).