I created a dynamic module in Sitefinity MVC v 12.2. When I list the items on the page, I want them to be in a random order. I added the module widget on the page and went to Edit > Advanced > Model and in SortExpression I entered NEWID(). but got the error "No applicable method 'NEWID' exists in type 'HeroSlide'" - How do I get them to show up randomly?
Try adding this to the sort expression:
DateCreated.ToString().Substring((DateTime.Now.Second % 10), 4) DESC
With that it will randomize each load based on current time