Skip to end of banner
Go to start of banner

arraySort

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Availability

This routine is available starting with katl-commons 2.5.7.

Syntax

arraySort(arrayName, reverse)

Description

Sorts the elements from an array.

Alias

arraySort(arrayName, reverse)

Parameters

Parameter name

Type

Required

Description

arrayName

array

Yes

The array.

reversebooleanYestrue if reverse order, false otherwise

Return Type

array

Example

watchers = arraySort(watchers, false);

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

 

See also

  • No labels