ArraySort()

Reorders the elements in the array according to the sort type and direction

Usage

BOOLEAN = ArraySort( array, type, order )
Argument Summary
array Array object
type Type of search ('numeric', 'text' or 'textnocase')
order Order of search ('asc', 'desc') [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

ArraySort(
   array=?, 
   type=?, 
   order=?
);

Supports passing parameters as a structure using ArgumentCollection:

ArraySort( ArgumentCollection={
   array : ?, 
   type : ?, 
   order : ?
} );