WIP: use heapsort