How should I go about ordering by a discriminator column in a doctrine repository query?
I have a pretty straight forward setup, I have different types of payment detai
It seems like the simplest solution (so far) is to add another field to the base class and copy the discriminator column value.
The aforementioned TYPE(q) works only in WHERE clause.
TYPE(q)