title: Group by relevent two columns
body: <p>I am trying to group by two columns they are dependent each other</p>
  
  <p>Example:</p>
  
  <pre><code>    id          date             status
      1         2016-03-04          0
      2         2016-03-05          0
      3         2016-03-04          1
      4         2016-03-04          0
      5         2016-03-05          1   
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>    id          date             status
      1         2016-03-04          0
      2         2016-03-04          0
      3         2016-03-04          1
      4         2016-03-05          0
      5         2016-03-05          1
  </code></pre>
  
  <p>I tried order by datewise and stautswise (ex show 0 status record first after that another date)</p>
  
  <p>pls help me</p>