title: How can I change the ordering of a std::map to be reversed?
body: <p>Does anyone know that is there a way that I can change the map order from less to kind of "more"?</p>
  
  <p>For example:</p>
  
  <p>There is a <code>map&lt;string, int&gt;</code> called <code>test</code>. I insert some entries to it:</p>
  
  <pre><code>test["b"] = 1;
  test["a"] = 3;
  test["c"] = 2;
  </code></pre>
  
  <p>Inside the map, the order will be <code>(a, 3)(b, 1)(c, 2)</code>.</p>
  
  <p>I want it to be <code>(c, 2)(b, 1)(a, 3)</code>.</p>
  
  <p>How can I do that in a easy way? </p>