> This page is for Glide Classic.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://www.glideapps.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://www.glideapps.com/docs/_mcp/server.

# Shuffle Order

> Shuffle randomly ordered lists.

The **Shuffle Order** action will randomly shuffle items in a collection.

![The Shuffle Order action.](/docs/_fern-img/544dc1e14eb03e499c06d905c348132efba1bbfd1c7da594ea8e98a2dbe95a3d.webp)

The **Shuffle Order** action can be used as an action in the components of your app (like [Buttons](/docs/essentials/components/button), [Collections](/docs/essentials/components/collections), and much more), or it can be triggered along with other actions as part of a [Workflow](/docs/getting-started/introduction-to-workflows).

## **Setting up the Shuffle Order Action**

#### Layout Editor

#### Shuffle Order Layout Arcade

Before configuring the action, select the **Collection** component for which you'd like to trigger this action and navigate to the **Options** section in the right panel. In the **Sort Data** section, select **Randomly**.

Then, click on the plus (+) sign in the **Components** panel and select the **Component** you want to trigger the action.

In the **General** tab on the right side of the Layout Editor, navigate to the **Actions** section and select **Shuffle Order**.

Select the icon and descriptive text to use in your app.

You can optionally add **Conditions** for certain criteria to be met before a user can trigger this action.

#### Workflow Editor

#### Shuffle Order Action Editor Arcade

Select the **+ New Workflow** button. If you have existing actions, click on the plus (+) sign in the left panel.

Select the **data source** for your action.

Configure your first action by clicking the first step in the workflow. You can also add conditions to your actions, if needed.

To add new actions to the flow, hover just underneath an action and click the plus button. In this way you can add the Shuffle Order action as just one step in a larger workflow.

Check the [Introduction to Actions](/docs/automation/actions) page for a full list of components that can be used to trigger actions.

## Frequently Asked Questions

#### Why won't my Shuffle Order action work?

Make sure you've set the collection sort data setting to **Randomly**.