Skip to main content

sort

Function sort 

Source
pub fn sort<T: Copy>(v: &mut [T], less: &impl Fn(&T, &T) -> bool)
Expand description

std::sort(v.begin(), v.end(), less).