Press space and wait The algorithm starts with the first two items. If they are in the wrong order, it swaps them. Then it checks the second and third numbers and swaps them if needed. Then it checks the third and fourth numbers and so on.
All by me.