I'm trying to do some custom sorting in OData using this URL
localhost:82/odata.svc/ComponentPresentations?$filter=TemplateId eq 2894 and publicationId eq 10&$expand=Component/Keywords?$orderby=Title desc
Where Component
is a property of ComponentPresentation
and Keywords
is property of Component
, and I want to sort the ComponentPresentation according to the keyword's Title
attribute. But keywords nor title is a property of Component Presentation
Is there a way to sort the results according to the attribute of Keword's title? Which is a Child of Component, which is a child of ComponentPresentation?