question about map sort
<p>for example we have map</p>

<pre><code>map&lt;char,int&gt;mymap;
mymap['a']=101;
mymap['c']=45;
mymap['b']=76;
mymap['d']=98;
</code></pre>

<p>i know that if we  iterate  through  map it will print element  according to following way</p>

<pre><code>a&gt;=101;
b&gt;=76;
c&gt;=45;
d&gt;=98;
</code></pre>

<p>how do such that small keys  refer small values? or</p>

<pre><code>a-45
b-76
c-98
d-101
</code></pre>

<p>?
thanks</p>
