I know there is one for sorting an array of structures and vica versa...may be worth a looksee
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
----- Original Message -----
From: Damien McKenna
To: CF-Talk
Sent: Wednesday, August 11, 2004 9:43 AM
Subject: Sorting a struct of structs?
I've got a structure of structures, e.g.:
Records[id123].id
Records[id123].name
etc.
I'd like to sort by the id123 field, e.g. in the order Records[id1],
Records[id2], etc.
I tried StructSort but it gives this error:
The specified element "id123" does not contain a simple value.
[snip]
112 : <cfset Records = StructSort(Records) />
Any ideas?
--
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
"Nothing endures but change." - Heraclitus
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

