pub fn total_sort<E: InPlaceTotallyOrderable, T: AsMut<[E]>>(container: &mut T)Expand description
(Potentially) faster alternative to TotallyOrdered::new_slice_mut followed by
sort for values that can be transformed in place.
let mut values = vec![3.0, 2.0, 1.0];
total_sort(&mut values);