add a heapsort algorithm