Quicksort a dict to an OrderedDict : <p>In python, how do I quick sort a nested dictionary into an OrderedDict? For example:</p>

<pre><code>{'susan': {'number': '5', 'fav_color': 'yellow'},
'josh': {'number': '1', 'fav_color': 'blue'},
'casey': {'number': '11', 'fav_color': 'orange'}}
</code></pre>

<p>I want to sort on number such that I end up with:</p>

<pre><code>{'josh': {'number': '1', 'fav_color': 'blue'},
'susan': {'number': '5', 'fav_color': 'yellow'},
'casey': {'number': '11', 'fav_color': 'orange'}}
</code></pre>
