LitDev Extension API

GW LD3DView LDArray LDBits LDBlueTooth
LDCall LDChart LDClient LDClipboard LDColours
LDCommPort LDController LDControls LDCursors LDDataBase
LDDateTime LDDebug LDDialogs LDDictionary LDEffect
LDEmail LDEncryption LDEvents LDFastArray LDFastShapes
LDFigures LDFile LDFinances LDFocus LDftp
LDGeography LDGraph LDGraphicsWindow LDHashTable LDHID
LDIcon LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDModbus
LDMusic LDNetwork LDPhysics LDProcess LDQueue
LDRegex LDResources LDScrollBars LDSearch LDServer
LDSettings LDShapes LDShell LDSort LDSound
LDSpeech LDStatistics LDStopwatch LDText LDTextWindow
LDTimer LDTranslate LDUnits LDUtilities LDVector
LDWaveForm LDWebCam LDWindows LDxml LDZip
TW

LDSort
Sort arrays (the sorting of character strings may be case sensitive or insensitive).

ByIndex ByValue ByValueWithIndex
CaseSensitive

ByIndex(array)
Sort an array of any dimension by the index (key).
array The array to sort.
returns A sorted array.

ByValue(array)
Sort a 1D array by the value (the indices are re-numbered from 1).
array The array to sort.
returns A sorted array.

ByValueWithIndex(array)
Sort a 1D array by the value (the indices are unchanged, but sorted).
array The array to sort.
returns A sorted array.

CaseSensitive
String comparisons are case sensitive "True" or "False".