sorting the data of Map

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 .
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.