Heap Sort

Build a heap from the list, then repeatedly pull out the largest element to sort in place in O(n log n).