Heapsort, based on heap.
Treesort, based on binary search tree.