Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I sort a n embedded structure

Status
Not open for further replies.

duns

Programmer
May 22, 2000
13
0
0
AU
Hi,

I have the following array and embedded structure :
<pre>
<cfscript>
changedPracticeAreas = arrayNew(1);
</cfscript>
<cfloop from=&quot;1&quot; to=&quot;#ArrayLen(SortedPA)#&quot; index=&quot;Item&quot;>
<cfset changedPracticeAreas[Item] = structNew()>
<cfset changedPracticeAreas[Item].label=#DisplayText#>
<cfset changedPracticeAreas[Item].objectid = #stObject.objectid#>
</cfloop>

I need to be able to sort this based on the changedPracticeAreas[Item].label values.
Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top