I want to use orderby ASC with field name in this query :-
$repository = $this->em->getRepository('XXXAbcBundle:BuilderPage');
return $repository->findAll(\Doctrine\ORM\Query::HYDRATE_ARRAY);
How It's possible ?
I want the result set is hydrated into an array that represents the object graph in ASC order.