1

I want to create map that instead sorting by default by key, its sorts by default by value. For example if I have the following map;

map<string, pair<int,int> > map;

I dont want to have it sorted by the key (string), I want it sorted by default by the first int in the pair (value).

0 Answers0