How to Think About Algorithms: Iterative Sorting Algorithms