sort a dictionary by inner key python
<p>I have a 3 dimensional dictionary</p>

<pre><code> d = ({k1:{k2:{k3:v}}}
       and many more such keys....)
</code></pre>

<p>Now, I want to sort this dictionary by k3?
What is the best way to do this?</p>
