Working on sorting the hand using heapsort