Sorting

Bubble sort and minimum swaps.

How it works

Compare neighbours and swap them when out of order.

More exercises in Computational thinking