title: doctrine 2 querybuilder with set parameters not working
body: <p>this is my query:</p>
  
  <p>public function getDetails($userid, $orderby, $sort){</p>
  
  <pre><code>$query = $this-&gt;_em-&gt;createQueryBuilder()
                  -&gt;select('u')
                  -&gt;from('\Entities\Users', 'u')
                  -&gt;where('u.userid= ?1')
                  -&gt;orderBy('u.?3', '?3')
                  -&gt;setParameter(1, $userid)
                  -&gt;setParameter(2, $orderby)
                  -&gt;setParameter(3, $sort)
                  -&gt;getQuery()
                  -&gt;getResult();
  
  }
  </code></pre>
  
  <p>it keeps erroring: Message: [Semantical Error] line 0, col 83 near '?3 DESC': Error: '?3' is not defined. </p>
  
  <p>how do i get the orderby from the properties in that function to the query?</p>