Create Heepsort