pub fn sortidx<T>(s: &[T]) -> Vec<usize, Global> where
    T: PartialOrd<T> + Copy
Expand description

A wrapper for mergesort, to obtain the sort index of the (whole) input vector. Simpler than sortm.