title: orderBy is not working in Laravel 5
body: <p>I am using the below query. <strong>orderBy</strong> is not working in below query. This query is working in localhost but it is not working in Online Server.</p>
  
  <pre><code>return DB::table('reports')
          -&gt;leftJoin('sources', 'reports.report_source_id', '=', 'sources.id')
          -&gt;select('*')
          -&gt;orderBy('report_id', 'desc')
          -&gt;take(10)
          -&gt;get();
  </code></pre>