title: Mysql select order by acts like a string, not a number
body: <p>How do you order by number if your number can fall below and be bigger than 0?</p>
  
  <p>Example Mysql table:</p>
  
  <pre><code>|Name|Karma|
   __________
  |Me  | -8  |
  |Bill|  5  |
  |Tom |  2  |
  |Saly|  0  |
  |San.| -3  |
  </code></pre>
  
  <p>Example select query</p>
  
  <pre><code>$sql="SELECT karma FROM table ORDER BY karma DESC";
  </code></pre>
  
  <p>The result I get is this (separated by comma): 5,2,0,-8,-3.
  Shouldn't it be 5,2,0,-3,-8?
  I discovered somewhere in the internet that mysql orders by string. How to make it order by number?</p>