title: Sort two lists in python?
body: <p>I am counting some occurrences of words in a text, and I have two lists : the first contains the words, the second contains the occurrences.</p>
  
  <p>So at the end of the analysis I have something like</p>
  
  <pre><code>listWords : ["go", "make", "do", "some", "lot"]
  listOccurrences: [2, 4, 8, 1, 5]
  </code></pre>
  
  <p>And I want to sort those two lists following listOccurrences DESC, so I would have :</p>
  
  <pre><code>listWords : ["do", "lot", "make", "go", "some"]
  listOccurrences: [8, 5, 4, 2, 1]
  </code></pre>
  
  <p>Is there any way I can do this ? Or do you know any other way more "natural" than two lists ? (Like a single "list" where every occurrence is referenced by a word)</p>