title: Order by is not working?
body: <p>I have a problem with order by articles by priority. Where is working. Any suggestion?</p>
  
  <pre><code> $articles =  Articles::whereHas('priority',function($query){
            $query-&gt;orderBy('order','asc');
            // $query-&gt;where('order','=',1);
          })-&gt;limit(7)-&gt;get();
  </code></pre>