title: Sorting by multiple conditions in python
body: <p>I am new to programming and right now i'm writing a league table in python. I would like to sort my league by first points, and if there are two teams with the same points I would like to sort them by goal difference, and if they have the same goal difference i would like to sort by name. </p>
  
  <p>The first condition is pretty easy and is working by the following:</p>
  
  <pre><code>table.sort(reverse=True, key=Team.getPoints)
  </code></pre>
  
  <p>how do I insert the two following conditions?</p>