Re: wanted a real sort
Re: wanted a real sort
- Subject: Re: wanted a real sort
- From: cris <email@hidden>
- Date: Fri, 13 Apr 2001 00:31:24 +0200
on 10.04.2001 22:39 Uhr, email@hidden at
email@hidden wrote:
>
does anyone know how to place a list into order? ; 1,2,3 not 1,10,11...
If things are sorted that way, your sorting handler compares strings not
numbers...
"10" is considered lower than "2" because both are strings, but if you say:
("10" as number) is greater than ("2" as number)
then you will get the desired result.
Greetings
cris :-)
--
English is my second language.
www.cooc.de