Remove Heapsort code