Enhanced PriorityQueue to be accessible by indexation or MinHeap.