ListSort (list, sort_type [, sort_order] [, delimiters ]) DescriptionSorts 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> |