ListSort should work:

http://www.cfquickdocs.com/cf8/#ListSort

Although you might need to use the text sort instead of numeric.



andy 

-----Original Message-----
From: Tom Jones [mailto:[email protected]] 
Sent: Wednesday, September 22, 2010 11:18 AM
To: cf-talk
Subject: List Sort help


Hello,
I have a lit of version numbers and I need to sort them in the right order. 

<cfset appVers = "3.6.1,3.6.5,3.6.3,3.6.10">

How do I sort these so that they show in the right order starting with the
highest first?

Thanks,
tom 



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

Reply via email to