Sort by the number of items of each

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Dec 22 01:20:32 EST 2006


Hi Ludovic,

Funny how strong your question resembles the answer:

sort lines of fld 1 by number of items of each

or if you have a table field and want to sort in a different way:

set the itemdel to tab
sort lines of fld 1 numeric descending by number of items of each

Best regards,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz

Op 22-dec-2006, om 7:10 heeft Ludovic Thébault het volgende geschreven:

> Hello,
>
> How sort a list by the number of items of each lines ?
>
> In the documentation, i saw this :
> "To create a custom sort order, use the each keyword to pass each line
> or item to a custom function. The value returned by the function is
> used as the sort key for that line or item."
>
> but i don't know how do this.
>
> Thks
>
> Ludovic
> http://www.botanic06.com





More information about the use-livecode mailing list