title: Sort collection in alphabetic order
body: <p>I'm trying to print my collection sorted alphabeticall. Here's what I've tried inside my controller:</p>
  
  <pre><code>public function listForCategories(Category $category)
      {
          return $category-&gt;subcategories-&gt;sortBy('title');
      }
  </code></pre>
  
  <p>But It's not sorting my output :/ Please help!</p>