title: Symfony2, Doctrine2, findBy() order not working
body: <p>I created a repository for my Articles entity and I'm trying to get all values ordered by ID DESC. But, I'll get everytime values ordered by id ASC. Here is my <kbd>ArticleRepository.php</kbd>:</p>
  
  <pre><code>&lt;?php
  
  namespace Acme\BlogBundle\Entity;
  
  use Doctrine\ORM\EntityRepository;
  
  class ArticleRepository extends EntityRepository
  {
      public function findAll()
      {
          return $this-&gt;findBy(array(), array('id' =&gt; 'DESC'));
      }
  
      public function findOneBySlug($slug)
      {
          $query = $this-&gt;getEntityManager()
                        -&gt;createQuery('
                            SELECT p FROM AcmePagesBundle:Article a
                            WHERE a.slug = :slug
                        ')
                        -&gt;setParameter('slug', $slug);
  
          try {
              return $query-&gt;getSingleResult();
          } catch (\Doctrine\ORM\NoResultException $e) {
              return false;
          }
      }
  }
  </code></pre>
  
  <p>Any ideas?</p>