arraysort(
ARRAY
,
SEPARATOR
)

The arraysort( function alphabetizes (A-Z) the elements in a text array (see Text Arrays).


Parameters

This function has two parameters:

array – The text array that you want to sort.

separator – Is the separator character for this array.


Description

This function returns a copy of the original text array with the elements sorted in alphabetical order (see Text Arrays). Upper and lower case are ignored, so Bill will sort into the same position as bill.

arraysort("Red,green,Blue",",") ☞ Blue,green,Red
arraysort("Jack Alan Mark Bill Greg"," ") ☞ Alan Bill Greg Jack Mark

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, however, this is now a native function instead of being implemented with the call( function.