ListSort

"-->
 ListSort (list, sort_type [, sort_order] [,  delimiters ]) 

Description

Sorts list elements according to a sort type and sort order. Sort types include numeric, text (sort alphabetically), textnocase (non-case-sensitive). Sort orders can be asc (ascending) or desc (descending).

Example

 <cfset exampleList = "Apples, Oranges, Grapes, Pears, Mangoes">  <cfset sortedList = ListSort(exampleList, "Text")>  <cfoutput>  #sortedList#  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net