A Rust CLI that implements a generic Bubble Sort and Insertion Sort for any list of items that implement the PartialOrd and Clone traits.
Bubble sort is a simple and uncomplicated sorting algorithm. It is a comparison-based sorting technique in which we need to compare adjacent elements, and if they are not in order, the elements are swapped.
Insertion sort is an easy and uncomplicated sorting algorithm that constructs the conclusive sorted array one item at a time.