title: symfony doctrine order by
body: <p>I'm trying to use doctrine and take the values ordered, but I cannot.</p>
  
  <p>I try so:</p>
  
  <pre><code>$articlesB = $this
                  -&gt;getDoctrine()
                  -&gt;getManager()
                  -&gt;getRepository('theBundle:Article')
                  -&gt;findAll(array('date' =&gt; 'ASC'));
  </code></pre>
  
  <p>Do you know howw to take this values ordered by date? A column is named date and take all the dates. I want to have this orderer.</p>
  
  <p>Thanks
  Best regards</p>