Should dict store key in order by inc?
<p>I have a dict with integers as keys. Tell me please, does a dict store data with sorted keys or not? </p>

<p>I wrote a little code to test (as follows):</p>

<pre><code>&gt;&gt;&gt; 
&gt;&gt;&gt; d = {1: 'a', 3: 'a'}
&gt;&gt;&gt; d
{1: 'a', 3: 'a'}
&gt;&gt;&gt; d[2] = 'a'
&gt;&gt;&gt; d
{1: 'a', 2: 'a', 3: 'a'}
&gt;&gt;&gt; 
</code></pre>

<p>But I am not sure that this behavior is standard and works all the time.</p>
