Java PriorityQueue: Min Heap? Max Heap? Comparator Confusion? Let’s Break It Down 😎

So you’re using a PriorityQueue in Java and wondering:
“Is it sorting? Why is it not sorted? What’s this a-b, b-a madness?”