Sort  Array

The Sort function sorts the items.

This function uses the object reference values.

Syntax

Array.Sort(
     Integer iStart = 0,
     Integer iEnd = -1)

Parameters

iStartIndex of the first item.Optional
iEndIndex of the last item (excluded).
-1: Last array index (included).
Optional

Return value

The Sort function has no return values.

Example

// Sort all
myArray.Sort()
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia