Change heap ordering to use heap size as tiebreaker.

The idea is to preserve FIFO, so first in wins the tiebreak.