pub fn sort_rows<K: RadixKey>(n: usize, columns: Vec<Vec<K>>) -> Vec<u32>Expand description
The rows of an n-row table in ascending order, comparing entries column by column from the first. Rows that compare equal keep their order of position. columns holds each column’s n keys, whose unsigned order is the order you want. A caller fills them from its items in a pass that vectorizes. Fewer than 256 rows take a comparison sort. One column whose keys tabled allows takes a counting sort. Other tables take the radix sort once for each column, from the last. Positions are u32s, as a slice holds at most u32::MAX items.