add bottom-up-heapsort with modifications