As "Robertson-Ravo, Neil (RX)" points out (although the resulting 'sorted' isn't a struct) you are not sorting the original struct. You are just returning a sorted array of keys. I guess you'll need some other way of doing this.
>From the naming of the keys in your struct it looks as if the data is from a >database somehow stored in a struct. Can't you output the resulting query (and >do a QoQ for 'extra' sorting?) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255966 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

