title: Url helper with GET parameter in laravel
body: <p>I want to create an url with this format :</p>
  
  <pre><code>domain.com/list?sortBy=number&amp;sortDir=desc
  </code></pre>
  
  <p>in my View (blade). I'm using this approach which I don't really prefered :</p>
  
  <pre><code>{{ url("list")."?sortBy=".$sortBy."&amp;sortDir=".$sortDir }}
  </code></pre>
  
  <p>because using</p>
  
  <pre><code>{{ url("list", $parameters = array('sortBy' =&gt; $sortBy, 'sortDir' =&gt; $sortDir) }}
  </code></pre>
  
  <p>didn't produce as I hoped. Is there a better way?</p>