tidy up HeapSorter.isRoot method