There is an undocumented feature, though it is noted in the user notes under "sort" and "sort container" in the dictionary:
sort by sortKey1 & sortKey2 & sortKey3... all in one line. Both methods produce stable multiple sorts. Craig Newman -----Original Message----- From: Tiemo Hollmann TB <toolb...@kestner.de> To: 'How to use LiveCode' <use-livecode@lists.runrev.com> Sent: Tue, May 28, 2013 1:35 pm Subject: AW: text sortType How about sorting twice sort lines of sReportText numeric by item 2 of each sort lines of sReportText by item 1 of each didn't tested Tiemo > -----Ursprüngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Andrew Kluthe > Gesendet: Dienstag, 28. Mai 2013 19:06 > An: How to use LiveCode > Betreff: text sortType > > Hello Ya'll, > > I am trying to sort some tab delimited data by item 1 of each. Item 1 of > each is a name and a number. > > Kansas 1 > Kansas 3 > MO 3 > MO 8 > > > Anyhow, when I run the sort as > > sort lines of sReportText by item 1 of each > > I get it sorted pretty close, but entries with the same name and a > different number are not sorted numerically after being sorted > alphabetically. > > Are there any built in options or tricks I could use to get the desired > result without having to write a custom sort function for this seemingly > simple task? > > > > -- > Regards, > > Andrew Kluthe > and...@ctech.me > _______________________________________________ > 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 _______________________________________________ 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