title: Doctrine 2 ORDER BY the field of a joinTable
body: <p>I have an Entity defined like this:</p>
  
  <pre><code>Munkatars:
      id:
          id:
              type: integer
      fields:
          nev:
              type: text
          [...]
      manyToOne:
          vezeto:
              targetEntity: Munkatars
              inversedBy: alarendeltek
      oneToMany:
          alarendeltek:
              targetEntity: Munkatars
              mappedBy: vezeto
              fetch: EXTRA_LAZY
  </code></pre>
  
  <p>Is there a way to create a query that orders these <code>Munkatars</code> objects by their <code>vezeto</code>'s <code>nev</code> field?</p>
  
  <p>I've tried ORDER BY m.vezeto.nev, but that gave me an error, and the documentation didn't give much information on this.</p>