All,
I have a strange situation. I have to sort a list twice. First by a number, descending, then by text ascending. I know sounds strange but here is an example. Original list (example only real info stripped out): 2-CCC|2-AAA|2-DDD|5-ZZZ First it has to be sorted by the number, so: 5-ZZZ|2-CCC|2-AAA|2-DDD Then by the text making the final string: 5-ZZZ|2-AAA|2-CCC|2-DDD Any ideas? Using listSort(myVar, "textnocase", "asc", "|") sorts it ascending by the number then the text. It's been a long day, I'm tired and stumped. Steve ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327813 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

