Added cached comparisons binary heap-sort