The issue that you have with the GetContent
method is due to the fact that sortExp
work only with metadata, and the tags are not such type of data. Therefore, a workaround for you could be :
1. Get your content using GetContent
filtering only by tag name, in a collection.
2. Sort that collection in the memory.
A fix for that will not be available in 3.2, because this version has already been scheduled, and a final work on it is in progress. We plan to change the whole DataAccess Layer in version 4.0, so GetContent
will be much more flexible.
We wish you good luck and let us know if we could help you with anything in future.
the Telerik team