Data structures · Heaps and priority queues
A heap keeps the smallest item on top with far less order than a sorted list, and two rules say exactly how much.