List.Shuffle
------------

Shuffles the items in the list.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [List](component_List.md) | [14.0](newinversion140.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "List.Shuffle"; List ) 

**MBS**( **"List.Shuffle";** /\* Shuffles the items in the list. \*/  
**$List**) /\* The list to usee.g. "Hello¶World" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| List | The list to use | "Hello¶World" |

### Result

Returns list or error.

### Description

Shuffles the items in the list.  
We use random number generator to swap items randomly and return a new list.  
### Examples

Shuffle a list of values:

 MBS ( "List.Shuffle"; "a¶b¶c¶d¶e¶f" )  
<small>  
Example result:   
a  
c  
d  
e  
b  
f</small>### See also

- [QuickList.Shuffle](QuickListShuffle.md)

### Release notes

- **Version 14.0**
    - Added [List.Shuffle](https://www.mbsplugins.eu/ListShuffle.shtml) and [QuickList.Shuffle](https://www.mbsplugins.eu/QuickListShuffle.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 14.0](https://www.mbsplugins.de/archive/2024-01-23/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 14.0 für Claris FileMaker](https://www.mbsplugins.de/archive/2024-01-16/Neues_MBS_Plugin_140_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 14.0 for Claris FileMaker](https://www.mbsplugins.de/archive/2024-01-16/MBS_FileMaker_Plugin_140_for_C/monkeybreadsoftware_blog_filemaker)
- [MBS @ FMTraining.TV - FileMaker Monkeybread Plug-in Q&amp;A](https://www.mbsplugins.de/archive/2023-12-09/MBS_@_FMTrainingTV_-_FileMaker/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.6pr1](https://www.mbsplugins.de/archive/2023-12-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 8th November 2023 , last changed 8th November 2023

  
[List.SetValue](ListSetValue.md) - [List.Sort](ListSort.md)

[HTML Version](ListShuffle.shtml)