Function indxvec::merge::sortidx[][src]

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

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