pub fn inverse_argsort<T>(data: &[T]) -> Vec<usize>where T: Ord,
Construct the permutation that takes data.sorted() to data.
data.sorted()
data