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

The stooge sort algorithm but stepped.

Sorts the given Vec and returns the result and a Vec containing each step of the process.