Sometimes it's nice to be able to feature things randomly on a page... a few random customer testimonials, or some featured products for example.
Maybe you have a photo gallery, but you want to mix up those tiles regularly to make it more interesting.
Webflow introduced random sorting for Collection Lists in 2016. To use it, just select your Collection List in the designer and set the sorting to-
Random order, shuffle
Currently, I
I use this feature often in sidebar views, where e.g. I want to show 2 testimonials, but I want them to change automatically.
To do use, use random order, with limit = 2 on that Collection List. These two work together beautifully.
Then below that list, you can add a link to view all which takes them to the all testimonials page.
Note that the random ordering will update every 12 hours, and generally not on each visit.
If you want sorting to be more frequent, you can do the sorting client-side.
Importantly, random and pagination do not work together.
You'll be able to page, but the items you'll see on each page are reported to contain duplicates.
https://discourse.webflow.com/t/cms-random-sorting/20206/9?u=waldo
https://webflow.com/feature/random-dynamic-list-sorting#:~:text=Just%20choose%20%22Random%20order%22%20as,CMS%2C%20and%20on%20published%20sites.
https://university.webflow.com/lesson/sort-collection-lists