SortListDescendingText

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
sort <Target> in descending text order
Associationscom.livecode.sort
Summary

Sorts Target in descending text order.

Parameters
NameTypeDescription
Target

An expression that evaluates to a list of strings.

Example
    variable tTestList as List
    put the empty list into tTestList

    push "abcd" onto tTestList
    push "xyz" onto tTestList

    sort tTestList in descending text order -- tTestList is ["xyz", "abcd"]
Description

Text sort is performed by comparing string elements on a codepoint by codepoint basis. *Note:* It is an error if Target contains any elements of non-string type.

Tagssorting