pub fn sortidx<T>(s: &[T]) -> Vec<usize, Global> where T: PartialOrd<T> + Copy,
A wrapper for mergesort, to obtain the sort index of the (whole) input vector. Simpler than sortm.