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" <use-livecode-boun...@lists.runrev.com on behalf of 
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...
    
    Richmond.
    _______________________________________________
    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
    
    

_______________________________________________
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