List.Reverse
------------

Reverses the order of items in the list.

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

MBS( "List.Reverse"; List { ; NoReturnEnding } ) 

**MBS**( **"List.Reverse";** /\* Reverses the order of items in the list. \*/  
**$List**; /\* The list to sort.e.g. "Hello" ¶ "World" \*/   
**$NoReturnEnding**) /\* Optional; Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| List | The list to sort. | "Hello" ¶ "World" |  |
| NoReturnEnding | Pass 1 to have no extra newline character on the end of the returned list. Default is 0 to include one to easily concat lists. | 1 | Optional |

### Result

Returns OK or error.

### Description

Reverses the order of items in the list.  
### Examples

Reverse list:

 MBS ( "List.Reverse"; "Hello¶World¶Test" )  
### See also

- [Text.Reverse](TextReverse.md)

### Blog Entries

- [MBS Filemaker Plugin, version 4.4pr5](https://www.mbsplugins.de/archive/2014-10-12/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 4.4pr3](https://www.mbsplugins.de/archive/2014-10-01/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 29th September 2014 , last changed 29th September 2014

  
[List.RemoveValues](ListRemoveValues.md) - [List.Serialize](ListSerialize.md)

[HTML Version](ListReverse.shtml)