From the dictionary entry for “sort”:
If you don't specify a direction, the sort is ascending.
One of the following items:
        • ascending -sorts in ascending order
        • descending -sorts in descending order

> On Aug 7, 2017, at 3:23 PM, Richmond Mathewson via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> I have a listField containing a number of words which I want to order so the 
> longest comes
> first . . .
> 
> doing this:
> 
> sort lines of fld "myGuff" by length(each)
> 
> sorts the words, but the shortest one comes first…



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to