heaps: fix stack effect for >max-heap.
sorting.heap: adding Heapsort implementation.