Putting things in orderLesson 1 of 14Free preview

Bubble sort: swap until nothing is out of order

Tanvir's first sort meets a batch that arrived backwards: 28 comparisons and 28 swaps for 8 orders.