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

The bogosort algorithm but stepped and timed.

Sorts the given Vec and returns the result and a Vec containing the steps of the process, including the Duration of the entire process – or dies trying.