Ya, that makes sense now that I experiment with it. I don't know why I did not think this was possible. Seemed like you were telling the database to do something that was not possible by sorting in two directions on each table.
-----Original Message----- From: Sonny Savage [mailto:[EMAIL PROTECTED] Sent: Friday, January 11, 2008 10:51 AM To: CF-Talk Subject: Re: A Very Sophisticated Query That is correct, the sorting essentially occurs on the dataset returned by the query. You can sort on any of the columns in the select statement. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296425 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

