<cfloop list="#listSort(structKeyList(records), "textnocase")#" index="i">
#records[i].id#: #records[i].name#<br />
</cfloop>
cheers,
barneyb
On Wed, 11 Aug 2004 12:43:16 -0400, Damien McKenna
<[EMAIL PROTECTED]> wrote:
> 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]

