A sorting algorithm for when you have time to wait.