[−][src]Function ford_johnson::sort
pub fn sort<F>(xs: &mut [usize], cmp: &mut F) where
F: FnMut(usize, usize) -> Ordering + Sized,
Sort a slice of usize
based on an explicit comparator.
Usually used to perform an indirect sort (i.e., to compute the indices
that would sort the given items).