pub fn argsort<T: Ord>(data: &[T], descending: bool) -> Vec<usize>
Comparison-based argsort for any Ord type - returns indices that would sort the data