StructSort (base, sortType, sortOrder, pathToSubElement) 


Finds and sorts structures that contain top-level key names. sortType can be numeric, text, or textnocase, and sortOrder can be asc (ascending) or desc (descending).


 <cfscript>     Products = StructNew();     StructInsert(Products, "ProductName", "Blizzard Blender");     StructInsert(Products, "ProductName2", "Nukeit Microwave");     StructInsert(Products, "ProductName3", "Toastit Toaster");  </cfscript>  <cfoutput>  #ArraytoList(StructSort(Products, "Text", "Asc"))#  </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: