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

The bubble sort algorithm.

Sorts the given Vec and returns the result.