SORT by length
Terry Judd
terry.judd at unimelb.edu.au
Mon Aug 7 19:02:52 EDT 2017
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-bounces at lists.runrev.com on behalf of use-livecode at 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 at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list