pub fn partial_sort<T, F>(v: &mut [T], limit: usize, is_less: F)where F: FnMut(&T, &T) -> Ordering,
It’s unstable_sort, may not preserve the order of equal elements