SORT by length

Terry Judd terry.judd at
Mon Aug 7 19:02:52 EDT 2017

sort lines of fld “myGuff” descending numeric by length(each) – should do it.


On 8/08/2017 8:23 am, "use-livecode on behalf of Richmond Mathewson via use-livecode" <use-livecode-bounces at on behalf of use-livecode at> 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 at
    Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list