Hi everybody,
I'm using Symfony 1.4 + Doctrine 1.1.
I have a schema with a one-to-many relation. Let's say A has many B, I ask for all the B's of A as follow: $a->b This returns a Doctrine_Collection.
What I want its a way to tell doctrine to give me all the B's of A sorted by a particular attribute of B.
I don't want to re-write the query, I just want to tell the accesor getBs() to sort as I wanted.
Is this possible? any idea?
Tanks in advance!! Alejandro.