Implemented HighestPriorityFirst