Basic Sorting Complexities
Bubble Sort repeatedly swaps adjacent out-of-order elements.
Selection Sort repeatedly selects the minimum.
Insertion Sort inserts each element into the sorted prefix.
Insertion Sort is often practical for small or nearly sorted data.