title: sorting dictionary python 3
body: <p>I'm working on python 3.2.2.
  Breaking my head more than 3 hours to sort a dictionary by it's keys.
  I managed to make it a sorted list with 2 argument members, but can not make it a sorted dictionary in the end.</p>
  
  <p>This is what I've figured:</p>
  
  <pre><code>myDic={10: 'b', 3:'a', 5:'c'}
  sorted_list=sorted(myDic.items(), key=lambda x: x[0])
  </code></pre>
  
  <p>But no matter what I can not make a dictionary out of this sorted list. How do I do that? Thanks!</p>