Double-Ended Priority Queue - Ontify