Sorting map case insensitive
<p>Map implicitly sort elements in it, but is there a way how to force map to sort elements case Insensitive?</p>

<p>using this piece of code</p>

<pre><code>map &lt;string , string&gt; m;
m["Axion"] = "second";
m["Beta"] = "third";
m["alpha"] = "first";

for( auto &amp;x : m ){
   cout &lt;&lt; x.second &lt;&lt; endl;
}
</code></pre>

<p>it will output    :</p>

<pre><code>second
third
first
</code></pre>

<p>duo to upper case characters having smaller ascii code than lower case characters.</p>

<p>Is there any way how to force map to sort it case inensive so it would output </p>

<pre><code>"first"
"second"
"third"
</code></pre>