Sorting via Heapify