As per my knowledge Priority Queue sort's on the bases of Natural Order.So if a Priority Queue is of
String type then it will sort on the basis of a,b,c,d.....But just look at this code it doesn't agree....
Can someone please explain me why such behavior ...Or please correct me if ma concepts are wrong ......