title: Dictionary multiple in Python
body: <p>I have a multidictionary:</p>
  
  <pre><code>{'a': {'b': {'c': {'d': '2'}}},
   'b': {'b': {'c': {'d': '7'}}},
   'c': {'b': {'c': {'d': '3'}}},
   'f': {'d': {'c': {'d': '1'}}}}
  </code></pre>
  
  <p>How can I sort it based on the values <code>'2' '3' '7' '1'</code>
  so my output will be:</p>
  
  <pre><code>f.d.c.d.1
  a.b.c.d.2
  c.b.c.d.3
  b.b.c.d.7
  </code></pre>