John,
have you tried to use the fastest of the sort options from the database, and 
then using  CF query of queries to do the two subsequent sorts. 
This does not need to go back to the database and is sometimes faster.
E.g.

<CFQUERY name="firstQuery" datasource="realdatabase">
SELECT A,B,C
FROM table
ORDER BY C
</CFQUERY>

<cfquery name="secondQuery" dbtype="query">
        SELECT *
        FROM firstQuery
        ORDER BY A
</cfquery>

<cfquery name="thirdQuery" dbtype="query">
        SELECT *
        FROM firstQuery
        ORDER BY B
</cfquery>



Cheers,
Bilal


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3750
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to