Sorting with stacks.