Heap sort done