committing heapsort.c