title: Api-platform order for children
body: <p>I just begin to use api-platform to GET some entities and all their children.
  There is a self-join here, SQL looks like </p>
  
  <pre><code>entity e0_
          LEFT JOIN
      entity e1_ ON e0_.id = e1_.parent_id
  </code></pre>
  
  <p>I found the result records are sorted by id <code>ORDER BY e0_.id ASC</code>, while their children are not sorted.</p>
  
  <p>My question is how to sort their children also <code>ORDER BY e0_.id ASC, e1_.id ASC</code></p>
  
  <p>I viewed the document, seems not mentioned.
  <a href="https://api-platform.com/docs/core/default-order" rel="nofollow noreferrer">https://api-platform.com/docs/core/default-order</a></p>
  
  <p>thanks</p>