Remove custom sort function, use the priority queue as intended so priority is respected, and then utilize annotations last - thus giving them the highest priority.