Function sort

Source
pub fn sort<T: Ord>(array: &mut [T], compare: impl Fn(&T, &T) -> bool)
Expand description

A quick sort function that accepts any type using non-recursive approach.