sort question

Wouter wouter.abraham at scarlet.be
Fri Jun 3 13:01:29 EDT 2005


Hi Jack,

You could do for example:

on mouseUp
   get field 1
   sort it
   set the itemdelimiter to "."
   sort lines of it numeric ascending by item 1 of each
   put it into fld 2
end mouseUp

Greetings,
Wouter

On 03 Jun 2005, at 18:45, revinfo1155 at aol.com wrote:

>  Greetings,
>
>  I need a field to sort numerically and when I try it I get the  
> result below. I checked the docs and experimented with the  
> numberformat without success. Help!
>
> jack
>
>
>
> 1.101-
> 10.101-
> 10.201-
> 10.301.1-
> 10.351-
> 10.401-
> 10.501-
> 11.101.1-
> 11.151-
> 2.101-
> 2.301-
> 20.101-
> 3.101-
> 4.101-
> 4.991-
> 5.101.1-
> 5.151-
> 5.201-
> 5.301-
> 5.351.1-
> 5.401-
> 5.451-
> 5.501-
> 5.651-
> 5.701-
> 6.101.1-
> 6.201.1-
> 6.301-
> 6.401.1-
> 7.101-
> 7.151.1-
> 7.201.1-
> 7.251-
> 7.401-
> 7.501.1-
> 8.101-
> 8.301-
> 9.101.1-
> 9.351-
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list