title: Sort a Table[] in Lua
body: <p>I have a Lua table that I am trying to sort. The table's format is as follows:</p>
  
  <pre><code>tableOfKills[PlayerName] = NumberOfKills
  </code></pre>
  
  <p>Which means, for example, if I had a player named Robin with a total of 8 kills and another named Jon with a total of 10 kills, the table would be:</p>
  
  <pre><code>tableOfKills[Robin] = 8
  tableOfKills[Jon]   = 10
  </code></pre>
  
  <p>How would I sort that type of table to show the highest kills first? Thanks in advance!</p>