std.sort [core] std.sort.sort pub fn sort[T: cmp.Ord](mut xs: List[T]) — Sorts xs ascending in place, stably. std.sort.sort_by pub fn sort_by[T](mut xs: List[T], by: fn(T, T) -> cmp.Ordering) — Sorts xs ascending in place, stably, ordering by by rather than by Ord. std.sort.sorted_by pub fn sorted_by[T](xs: List[T], by: fn(T, T) -> cmp.Ordering) -> List[T] — sort_by's returning twin: a fresh list holding xs's elements in by's order, with xs untouched. std.sort.sort_ints pub fn sort_ints(mut xs: List[int]) — Sorts a list of int ascending, in place, stably. std.sort.sort_floats pub fn sort_floats(mut xs: List[f64]) — Sorts a list of f64 ascending, in place, stably, under IEEE totalOrder (see total_lt): every NaN lands at the end and -0.0 sorts strictly below +0.0. std.sort.sort_strs pub fn sort_strs(mut xs: List[str]) — Sorts a list of str ascending, in place, stably, in the language's byte-lexicographic order ([mem.str.order]): unsigned byte compare, shorter first on a shared prefix, so every multi-byte code point sorts above every ASCII one. std.sort.sorted_ints pub fn sorted_ints(xs: List[int]) -> List[int] — sort_ints's returning twin: a fresh ascending list, xs untouched. std.sort.sorted_floats pub fn sorted_floats(xs: List[f64]) -> List[f64] — sort_floats's returning twin, under the same IEEE totalOrder. std.sort.sorted_strs pub fn sorted_strs(xs: List[str]) -> List[str] — sort_strs's returning twin, in the language's byte-lexicographic order ([mem.str.order]). std.sort.is_sorted pub fn is_sorted(xs: List[int]) -> bool — True when xs is in ascending order (ties allowed). std.sort.is_sorted_by pub fn is_sorted_by(xs: List[int], by: fn(int, int) -> cmp.Ordering) -> bool — True when xs is in ascending order under by (ties allowed).