Lesson 14: Sorting an array — bubble sort
We have an array — now we'll learn to order it from smallest to largest. The idea of bubble sort is simple: compare each pair of neighbors, and if they're in the wrong order — swap them. Swapping needs a helper variable in three steps: temp = a; a = b; b = temp; — without temp the first value is era