SortValue

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

SortValue


 

Sorts values in ascending or descending order.

 


syntax

SortValue(

         val,

         [,type = ""]

         [,reverse = FALSE]

         )

 


Parameters

 

val

 

Type:

General purpose

 

Specifies the table data to be sorted. Multiple values can be specified as an array.

 

type

 

Type:

character

 

Type specification.

"" - Automatic

"text" - Sort based on values converted to text

"number" - Sort based on the converted number

"time" - Sort by the converted time value

 

reverse

 

Type:

Boolean

 

TRUE - descending

FALSE - ascending

 

Return Value

 

 

Type:

character

 

The index information that was sorted.

 


hmtoggle_plus1Example

 


Supported


Script Action

Browser script

×

Calculation Expression Syntax

 

 


reference