Change heap ordering to use heap size as tiebreaker, ensuring that first in wins the tiebreak.