arraySort

Description

Sorts the elements from an array.

Parameters

Return Type

Array

Example

watchers = arraySort(watchers, false);

The result returned by the function is an array that contains the elements from watchers sorted in the ascending order.

See also