title: How to order by column if equal, order by another
body: <p>Really I don't know how to say it as question, but with example it will be clear to everyone, I have data retrieved from MYSQL database sorted by one of columns , my question if one of those values in this column is equal, I need to use another column to set who is show first.</p>
  
  <pre><code>col1 - col2
  10 - 100
  20 - 120
  20 - 140
  30 - 90
  </code></pre>
  
  <p>see here value 20 mentioned twice so I need to show the 20 with 140 before the 20 with 120 using MYSQL Query.</p>