I'd look at putting it into a custom query object and using queries of queries. 
 So loop over the cfdirectory output inserting into a new query object that has 
file extension as a column and use a call like 
listGetAt(filename,listLen(filename,".")-1,".") to retrieve the extension.  
Once it's stored it's a simple matter of query of queries to sort the results.

Nick

>Can anyone point to an  "easy" way to sort the display of CFDIRECTORY 
>filenames by file extension, and then perhaps by name?
>
>-- Rick. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359042
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to