title: Sorting array in dictionary in python by specific key value
body: <p>I have the following dictionary:</p>
  <pre><code>products = { 
  'count': 3, 
  'items': [ {'order': 2, 'name': green}, 
             {'order': 1, 'name': red}, 
             {'order': 3, 'name': blue} ] 
  }
  </code></pre>
  <p>how can I sort the dictionary by the value of 'order' from highest to lowest so it results like this:</p>
  <pre><code>products = { 
  'count': 3, 
  'items': [ {'order': 3, 'name': blue}, 
             {'order': 2, 'name': green}, 
             {'order': 1, 'name': red} ] 
  }
  </code></pre>