argsort

Function argsort 

Source
pub fn argsort<T: Ord>(data: &[T], descending: bool) -> Vec<usize>
Expand description

Comparison-based argsort for any Ord type - returns indices that would sort the data