html
A sorting algorithm for the discerning programmer.
1. Compare adjacent items; 2. If they're out of order, swap them; 3. Repeat until no more swapping needed.
adjacent
items
out of order
Repeat
no more
swapping
A [3, 1, 4, 1, 5] sorted with Algo Awesomesort:
[3, 1, 4, 1, 5]
Algo Awesomesort