HeapSort cleanup/logging, QuickSort depth logging.