title: How to filter with URL parameters in Laravel 4?
body: <p>Let's say I'm paginating a list of items, and want to filter them by the first letter, my URL would be something like <code>myURL.com/items?sortBy=C&amp;page=2</code>, this would return me the page 2 of the items that start with C. (Pagination is already working)</p>
  
  <p>My question is, how do I retrieve the <code>sortBy=C</code>? And how the <code>routes.php</code>, and the controller would look like?</p>