TermContentItems order by created date ascending

May 13, 2013 at 7:22 PM
Edited May 14, 2013 at 6:03 AM
Hi

How to display content items in Taxonomies.TermContentItems.List.cshtml ordered by creation date ascending ?
@{
    IEnumerable<object> contentItems = Model.ContentItems;
    Model.ContentItems.Classes.Add("content-items");
    Model.ContentItems.Classes.Add("term-content-items");
}
@Display(Model.ContentItems)
@if (contentItems == null || contentItems.Count() < 1) {
<p>@T("There is no content associated to this term.")</p>
}
Thanks