Is there any way to supply an OrderBy to XhtmlString type value?
In general, For a string value i.e.
Contrary to popular belief, Lorem Ipsum...
and There are many variations of passages...,
It would sort the Contrary..
first based on alphabetical order.
But for XhtmlString
type value in Episerver which comes with HTML tags included with it, It is not easy to work with LinQ OrderBy.
I'm just wonering if is there any easy way to use OrderBy for following code snippet, Where the Title
is type of XhtmlString -
result = filters
.OrderBy(c => c.Title)
.Skip(skip).Take(take)
.GetContentResult<CorporateGuestReportingBlock>();
How could I order those type of strings in Episerver?
Thanks for your time.