Reindented heapsort, added dsutils