pub fn sort_with_buffer_by<T, F>( v: &mut [T], buffer: &mut [MaybeUninit<T>], compare: F, )where F: FnMut(&T, &T) -> Ordering,
Like sort_by, except this function does not allocate and uses the passed buffer instead.
sort_by