pub fn static_reorder_by_keys<T: Ord + Copy, U: Copy, const N: usize>(
keys: &[T; N],
values: &mut [U; N],
)Expand description
Reorder values in place according to the sorted order of keys.
Both slices must have the same length. “Static” in the name refers to the fact that it
takes and returns an array of statically known size, avoiding Vec allocations.