I have a requirement to get randomly display testimonial content based on custom tagged criteria. There could potentially be nearly 5-10 components that match the criteria. I have used CustomMetaValueCriteria along with ItemTypeCriteria, PublicationCriteria among others to get my required itemURIs. Example below.
Is there a way that I can mention a custom random sort criteria (to get 1-10, 2-10 .. 10-10) based on the number of tagged components? It does look like the sort criteria is something that needs to be build once the base query is executed and the list is available in the web application but I am trying to evaluate OOTB options, if it is an option. We are using Site 9.1 and a non-DXA web application.