A programming exercise on sorting algorithms.