Add HeapSort.