Inside Coldfusion MX

"-->

ArraySort (array, sort_type [, sort_order ])

Description

Sorts array elements numerically or alphanumerically.

Example

<cfset zipcode = ArrayNew(1)> <cfset zipcode[1] = 80203> <cfset zipcode[2] = 80202> <cfset zipcode[3] = 80204> <cfset tempArray = ArraySort(zipcose, "Numeric", "Desc")>

Категории