Sort numbers, problem.

Damien Girard dam-pro.girard at laposte.net
Wed Sep 7 06:20:56 EDT 2005


Hi all,

I have got a problem with the sort command in Revolution.
I have got a list, who contains number, and I need to sort them, but 
there are a problem with the sort command.

Exemple script:

global totox
put "1,215,3,48,5,16,24" into totox
sort items of totox
put totox

Normally, I will have got this result :
"1,3,5,16,24,48,215"

but NO, I have got this :
"1,16,215,24,3,48,5"

There are 2 ways for this problem, I have forgot to write somthing in my 
script or there is a beautiful bug.

Thanks.

Damien Girard
Email: dam-pro.girard at laposte.net



More information about the use-livecode mailing list