title: How to order a list of dictionaries by value when each dictionary has a different key?
body: <p>I have the following list of dicts:</p>
  
  <pre><code>dicts = [{'ENE001SOLC': 3},
   {'TRN002SIGN': 4},
   {'ENE001SOLC': 4, 'TRN002SIGN': 3},
   {'TRN002SIGN': 3},
   {'TRN002SOLC': 3, 'SAL016DECL': 3},
   {'ENE001SOLC': 5, 'SAL016DECL': 3},
   {'ENE001SOLC': 4}]
  </code></pre>
  
  <p>I want to sort this list by the values in each dict in descending order (higher comes first). I have visited a lot of posts already but all of them provide solution to sort the list when the values of the keys are the same for each dict, but this is not the case. The expected output would be somethinglike this:</p>
  
  <pre><code>[{'ENE001SOLC': 5, 'SAL016DECL': 3},
  {'ENE001SOLC': 4, 'TRN002SIGN': 3},
  {'ENE001SOLC': 4},
  {'TRN002SIGN': 4},
  {'TRN002SOLC': 3, 'SAL016DECL': 3},
  {'ENE001SOLC': 3},
  {'TRN002SIGN': 3}]
  </code></pre>
  
  <p>How can i do this?? Any help will be much appreciated.</p>
  
  <p>Thank you very much in advance</p>