How come the elements of priority queue are ordered according to natural order by default as it doesn\'t implement comparable interface.
From the docs, it says elem
The priority queue relies on the following to order the elements: