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

The insertion sort algorithm but stepped.

Sorts the given Vec and returns the result and a Vec containing all steps of the process.