FourHeap and HeapSort