arrow_ord::sort

Function 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