If an entity field is marked read-only, sorting does not work.
then api call
does not sort by name.
Removing the annotation makes sorting work again.
This problem has also been mentioned in a comment under
DATAREST-976, but with an embedded property. It happens for non-embedded properties as well.