sorting the data of Map

Apr 6, 2010 at 10:01am
How to sort the data of map?.As we can sort the data of the vector by using the standard sort function. Is there similar way through which we can sort the data .
Apr 6, 2010 at 10:39am
http://www.cplusplus.com/reference/stl/map/
Internally, the elements in the map are sorted from lower to higher key value following a specific strict weak ordering criterion set on construction.

Topic archived. No new replies allowed.