title: mysql maths based query
body: <p>I have a table of firearms in my game, it has 3 fields:</p>
  
  <pre><code>Name       dmg    timer
  ------------------------
  Pistol     5      30
  Shotgun    10     45
  Sniper     16     60
  </code></pre>
  
  <p>The timer represents how often in seconds it can be shot. Theres a lot more rows than this, but..</p>
  
  <p>I want to pull them in order of rate of fire, which one can damage the most every minute. So the pistol would do 10 damage every minute, the shotgun 12.5, the sniper 16.</p>
  
  <p>How would I do this as a query?</p>
  
  <pre><code>SELECT * FROM firearms ORDER BY ?
  </code></pre>
  
  <p>It's probably some basic math but I'm not thinking clearly.</p>