# Random Order

Source: https://support.wix.com/en/article/random-sort (updated 2026-10-05)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Show content from your CMS collection in a randomized order every time someone visits your page. Enable the dataset’s **Random order** toggle to automatically shuffle items on each page load.

**What does enabling the 'Random order' toggle do?**

When you turn on the **Random order** toggle, your collection items are displayed in a randomized order within connected site elements like repeaters or galleries. The exact way the order is generated depends on your page's caching settings:

  
* **If site caching is enabled:** The randomized order is created when your site page is first cached. All visitors see the same random order until your collection content changes or the cache is refreshed. The order only updates after you update your collection (such as adding or removing an item) or when the cache is cleared.  
**For example:** If you’re running a featured products gallery, every visitor sees the same shuffled product lineup until you add new products or update your collection.
* **If site caching is disabled:** A new random order is generated each time someone visits or reloads the page. Every visitor may see a different item order on every visit or refresh.  
**For example:** A testimonial section will display customer quotes in a fresh, randomized order every time a visitor lands on the page or reloads it.

  
 Learn how to [turn on or off caching for your site pages](https://support.wix.com/en/article/site-performance-caching-pages-to-optimize-loading-speed#enabling-and-disabling-caching-on-site-pages).

**Can I use random order at the same time as other sorts?**

No. If you enable the **Random order** toggle, you cannot add any other sort conditions in that dataset. Any previous sorts are disabled until you turn off the random order.

**Do my filters still work with the random order sort?**

Yes. Filters you set in your dataset still apply. Random order only affects the order of your filtered items.

**Does the random order change every time the page loads?**

Not always. If your page uses caching, the random order is the same for everyone until your content updates or the cache is refreshed. If caching is turned off, the order of items changes each time someone visits or reloads the page.   
  
 Learn how to [turn on or off caching for your site pages](https://support.wix.com/en/article/site-performance-caching-pages-to-optimize-loading-speed#enabling-and-disabling-caching-on-site-pages).

**When should I use random order sorting instead of sorting by field or Mirror on Site?**

Random order sorting is great when you want your visitors to see a new mix of items each time. For example, use it with testimonial galleries, featured products, or any collection you want to display in a new way every visit.

  
 Use the random order sort when you want your site visitors to see your items in a new, unpredictable order every time. This is great for testimonial galleries, featured products, or any collection you want to display differently on each visit. For a fixed or custom sequence, use standard sorting options or the “Mirror on Site” feature.

**Why don't I see the 'Random order' toggle in my dataset?**

The **Random order** toggle does not appear for the following:

* Dynamic datasets that are the default dataset of your dynamic pages.
* External collections (Wix app collections)
* App pages (for example, Stores product pages)
* Datasets set to appear on all pages (Wix Editor only)

  
 For example, if you add a regular dataset to a dynamic page, you can use random order sorting for that dataset—but random order is not available for dynamic datasets. If you add a regular dataset to an app page, random order is not available.

**What features are disabled when I turn on the random order sort?**

When you enable random order sorting, all other sorts (including 'Mirror on Site' or manual sorts) are disabled. Pagination and navigation actions—including next or previous item, next or previous page, and load more—are also turned off, so all matching items display on one page only.

**How can I restore my previous sorting after using the random order sort?**

To return to your previous sort order, simply turn off the **Random order** toggle in your dataset. Your previous sorting settings will be automatically restored.
