Array.Sort(Array) Method

Top 

Description

Sorts the calling Array in ascending order, reordering all input Array arguments in order to maintain the relative positions of the array elements.

 

This method has been Deprecated. Please use Array.SortAscending or StringArray.SortAscending instead.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Method Signature

Array.Sort(

Array arrayArgument)

 

 

Arguments

arrayArgument


Description:

Array to be reordered when the calling Array is sorted.

Repeatable:

0 to Unlimited times

 

 

 

Return Value

Type:

number

 

 

Returns the number of rows in the calling Array.

 

Syntax

myVariable1 = myArray1.Sort(myArray2);

 

 

See also

Array Object

Array.Sort

Matrix, Array, and Variable Math Guide