[][src]Function sort_it::selection::selection_sort

pub fn selection_sort<T: PartialOrd + Copy + Clone>(list: Vec<T>) -> Vec<T>

Takes a vec of any type implementing std::cmp::PartialOrd and returns the ordered list in ascending order.