Skip to main content

quick_sort

Function quick_sort 

Source
pub fn quick_sort<T: Ord + Clone>(items: &[T]) -> Vec<T>
Expand description

Quick sort. Returns a new sorted Vec; see quick_sort_in_place to sort a mutable slice without allocating the result.