Skip to main content

order

Function order 

Source
pub fn order(keys: &[&str], direction: SortDirection) -> Vec<usize>
Expand description

Indices of keys in sorted order. Stable: equal keys keep their order, so sorting by one column after another groups within the earlier order.