title: Sorting a Python Dictionary by Priority
body: <p>I have a python dictionary consisting of (names,value) pairs like so</p>
  
  <pre><code>pyDictionary = {"Bob":12,"Mellissa":12,"roger":13}
  </code></pre>
  
  <p>What i would like to do is to obtain a sorted version of the above dictionary where the sorting is done by giving first prority to the value and if the value for two pairs are the same then the comparision should be made by lexographically comparing the names. </p>
  
  <p>How can i acheive this in python3.7? </p>