John,
There's no need to use a repeat loop:
on mouseUp
put fld 1 into myList
set the itemDel to colon
sort lines of myList numeric by item 2 of each
sort lines of myList numeric by item 1 of each
put myList into fld 2
end mouseUp
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Installer Maker for LiveCode:
http://qery.us/468
Buy my new book "Programming LiveCode for the Real Beginner"
http://qery.us/3fi
LiveCode on Facebook:
https://www.facebook.com/groups/runrev/
On 4/2/2014 10:25, [email protected] wrote:
Thanks John,
I'm not trying to be "cheeky" but I am frustrated. Sorry Alex.
John, what you propose may work - haven't tried it yet.
However, that still does not explain why WITHOUT the 0 in front of it,
9:14 was listed before 11:35 in my ascending sort. And just FYI, those
are minutes and seconds I'm using and not hours and minutes.
My point is that it seems to me that the dateTime sort does not work
properly. What you proposed is a workaround because dateTime does NOT
work properly, right?
----- Original Message ----- From: "John Dixon" <[email protected]>
To: "How to use LiveCode" <[email protected]>
Sent: Wednesday, April 02, 2014 2:15 AM
Subject: RE: extremely weird and frustrating...
_______________________________________________
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