Function arrow_ord::sort::partial_sort

source ·
pub fn partial_sort<T, F>(v: &mut [T], limit: usize, is_less: F)where
    F: FnMut(&T, &T) -> Ordering,
Expand description

It’s unstable_sort, may not preserve the order of equal elements