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

The insertion sort algorithm but timed.

Sorts the given Vec and returns the result and the Duration of the entire process.