ListSort (list, sort_type [, sort_order] [,  delimiters ]) 


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).


 <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 © 2008-2017.
If you may any questions please contact us: