Does anyone know that there is a way that I can change the order of the cards from smaller to a kind of "bigger"?
For instance:
There is a map<string, int> called test . I insert several entries into it:
test["b"] = 1; test["a"] = 3; test["c"] = 2;
Inside the card, the order will be (a, 3)(b, 1)(c, 2) .
I want it to be (c, 2)(b, 1)(a, 3) .
How can I do this in a simple way?
source share