ArraySort

Sorts array elements.

Method Signature

ArraySort(array=[modifiablearray], sortType=[any], sortOrder=[string], localeSensitive=[boolean], callback=[function:Comparator])

Arguments

ArgumentTypeRequiredDescriptionDefault

array

modifiablearray

true

The array to sort

sortType

any

false

Options are text, numeric, or textnocase

textnocase

sortOrder

string

false

Options are asc or desc

asc

localeSensitive

boolean

false

Sort based on local rules

callback

function:Comparator

false

Function to sort by

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC