pub fn gnome_sort<T>(arr: Vec<T>) -> Vec<T> where
    T: PartialEq + PartialOrd + Clone + Copy
Expand description

The gnome sort algorithm.

Sorts a given Vec and returns the result.