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

Terry...

On 8/08/2017 8:23 am, "use-livecode on behalf of Richmond Mathewson via 
use-livecode" <[email protected] on behalf of 
[email protected]> 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...
    
    Richmond.
    _______________________________________________
    use-livecode mailing list
    [email protected]
    Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
    http://lists.runrev.com/mailman/listinfo/use-livecode
    
    

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

Reply via email to