title: Order by FIELD() using doctrine, is it possible?
body: <p>I am working on a project which is built using Symfony and Doctrine, however I am still new to the whole setup.</p>
  
  <p>Cut a long story short I have need to order a result set by the order of the array used in the select.</p>
  
  <p>Which I believe could be done using the FIELD() function, however from my investigations it doesn't look like its possible using Doctrine.</p>
  
  <p>For example, I am stumped as how I can utilise FIELD() in a query like below (if its even possible):</p>
  
  <pre><code>return $this
              -&gt;createQueryBuilder('a')
              -&gt;where('a.identifier IN (:identifiers)')
              -&gt;setParameter('identifiers',$identifiers)
              -&gt;getQuery()
              -&gt;getResult();
  </code></pre>