title: Laravel: Call to undefined method orderBy
body: <p>I want to sort my list through descending order using "orderBy" in Laravel.</p>
  
  <p>Im getting an error saying: Call to undefined method orderBy.</p>
  
  <p><strong>Here's my controller</strong></p>
  
  <pre><code> $sections = Section1::all()-&gt;orderBy('name', 'DESC')-&gt;get();
  </code></pre>