Binary heap of justice.

Signed-off-by: Nigel <Nigel@10.203.4.182>