title: how to sort a CSV using basic Python modules only
body: <p>so, me and a friend are working on a game built in python, and we're working on a leaderboard system, but having trouble getting the CSV file to order itself when called.
  we were using a dedicated python file to attempt to work on opening the external file, but we cannot work out how to make it order.</p>
  
  <pre><code>import csv
  import operator
  with open('leaderboard.csv', 'r') as f:
       csv1 = csv.reader(f, delimiter=',', quotechar='"')
       for row in csv1:
          if row:
              some=row[1]
              print(row)
  </code></pre>
  
  <p>our code looks like that.
  Any help?
  thanks.</p>