How can I preserve the assign order in a structure in ColdFusion <2016
问题 ColdFusion doesn't preserve the order in which elements were assigned to the structure. This gives a problem when, in my particular case, I need to create a SOAP envelope from this structure and the receiver needs to data in the envelope in a particular order. Starting from ColdFusion 2016 and higher, there is a "type" option in the StructNew() method where you can specify "Ordered". Unfortunately, I'm still on CF9.02... For example (in CF9): <cfscript> myStruct=StructNew(); myStruct.one