descending

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
descending
Summary

Used with the sort and sort container commands to sort in reverse order (from greater to less).

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
sort marked cards descending by the name of this card
sort field 3 descending dateTime by item 2 of each
RelatedCommand: sort, sort container
Glossary: command, keyword
Description

Use the descending keyword to sort backwards.

The descending keyword reverses the normal sort order:

  • A descending text sort puts Z first, A last.
  • A descending numeric sort puts large numbers first, small numbers last.
  • A descending dateTime sort puts later times first, earlier times last.
Tagsdatabase