sort | ||||||||||||||||
Type | command | |||||||||||||||
Dictionary | LCS | |||||||||||||||
Library | LiveCode Script | |||||||||||||||
Syntax |
| |||||||||||||||
Summary | Sorts the cards of a stack into a new order. | |||||||||||||||
Introduced | 1.0 | |||||||||||||||
OS | mac, windows, linux, ios, android | |||||||||||||||
Platforms | desktop, server, mobile | |||||||||||||||
Parameters |
| |||||||||||||||
Example |
| |||||||||||||||
Related | Command: find, sort container, filter Keyword: dateTime, numeric, text Property: mark | |||||||||||||||
Description | Use the sort command to shuffle the cards in a stack into a new order, or to shuffle a subset of the cards in a stack. The sort command is a stable sort. This means that if the sortKey for two cards is the same, sorting does not change their order, so you can do two successive sorts to create subcategories within the major sort categories. For example, to sort the cards of a stack by ZIP code and sort within each ZIP code by last names, use these two statements:
The 'text' and 'international' forms are affected by the caseSensitive and formSensitive properties. | |||||||||||||||
Tags | database |