if i try to sort on an attribulte like so:
mq.OrderBy.Add(new CriterionSortOrder(mq["ChangedDate"], SortingDirection.Descending)) ;
I get the following error message:
The criterion 'Criterion' does not represent a database column, and cannot be sorted on.
Does this mean that there is no way to sort on attributes with the query-system?
I have the same issue where i need to be able to sort on customattribute of the entity.
Is this possible?
For the moment it is not possible to sort on attributes using the query system. This is something we are planning on supporting in the future.
I realise this post was made more than 3 years ago, but is there any way besides using LINQ, to sort on attributes?