dd
fixed heapsort