title: How to order results with findBy() in Doctrine
body: <p>I am using the <code>findBy()</code> method on a Doctrine repository:</p>
  
  <pre><code>$entities = $repository-&gt;findBy(array('type'=&gt; 'C12'));
  </code></pre>
  
  <p>How can I order the results?</p>