How To Sort Priority Queue In Java