I saw this question. It seems pretty clear that it's a relatively new Java programmer trying to learn. Great! This is exactly what SO is about, in my opinion.
The problem is - the answers! The top answer is a blind comment dump which doesn't answer the question. I -1'ed it and commented. The answerer admits it doesn't answer the question. Yet, it's the top vote.
The next answer, which suggests using Collections.sort instead of using a PriorityQueue for its sorting abilities alone (and not doing any queueing at all) is barely hanging onto #2. This is the right answer. There's a discussion going on in the comments about efficiency, and it's on the wrong track, too. They're completely missing the insertion cost of adding all the items.
So, I'm terribly frustrated here. As it stands now, I'm afraid this question and its answers are a horrible contribution to the SO community. As it stands, it will only serve to confuse people instead of clarifying the issue.
What can I do? This one's on the wrong track.