Bob- Monday, December 12, 2011, 3:56:31 PM, you wrote: > It is doing just that, only it's doing a text sort of the numbers: > 1 > 10 > 100 > 11 > 12 > etc. Yes, and that's just wrong. I can think of no problem for which that is the solution. -- -Mark Wieder mwieder at ahsoftware.net