13 Dec
2001
13 Dec
'01
2:58 a.m.
Hi everyone, How do i sort on numeric id? I have a Folder containing Zclasses with numeric ids. what i am trying to do is to sort it, but it treats the ids as strings as it should, how do i sort it so it treats the ids as numeric values? <dtml-in "objectValues(['ZClass'])" sort=id> <dtml-var id> </dtml-in> Produces: 1 10 2 .... 9 Any help would be greatly appreciated. Mats __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com