title: Python: How do I arrange a list elements in descending order?
body: <p>If I have this code right here:</p>
  
  <pre><code>myfile = open("chess.txt", 'r')
  
  line = myfile.readline().rstrip('\n')
  while line != '':
      print(line.rstrip('\n'))
      line = myfile.readline().rstrip('\n')
  
  myfile.close()
  </code></pre>
  
  <p>and it prints out this:</p>
  
  <pre><code>1692 The Rickster
  2875 Gary Kasparov
  1692 Bobby Fisher
  1235 Ben Dover
  0785 Chuck Roast
  1010 Jim Naysium
  0834 Baba Wawa
  1616 Bruce Lee
  0123 K. T. Frog
  2000 Socrates
  </code></pre>
  
  <p>What do I need to use to arrange them in order from highest to lowest (numbers)?</p>
  
  <p>the myfile is the list of names and numbers put on a notepad.</p>