arraySort

arraySort

Syntax

arraySort(arrayName, reverse)

Package

array

Alias

 

Pkg Usage

sort(arrayName, reverse)

Description

Sorts the elements from an array.

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

arrayName

Array

Yes

Array.

reverse

Boolean

Yes

"True" if reverse order and "false" otherwise.

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

Peacock

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.