title: Sort dict and save as dict
body: <p>So i have dictionary like this</p>
  
  <pre><code>   mydic={
      'a':3,
      'b':1,
      'c':2,}
      def sortedby():
          sort= (sorted(mydic.items(), key = lambda t : t[0]))
  
  
          return(sort)
      print(sortedby())
  </code></pre>
  
  <p>I would like to get it returned not as list or int but as dictionary </p>