SORTLY.

Bubble Sort

Compares adjacent elements and swaps them if they are in the wrong order. Simple but inefficient for large datasets.

Time: O(n²) Space: O(1)
Comparisons 0
Writes 0