Sorting Deep Nested Arrays
dick.kriesel at mail.com
Wed Dec 4 04:18:25 EST 2013
On Dec 3, 2013, at 6:19 PM, Brahmanathswami <brahma at hindu.org> wrote:
> *I want to sort these from the outset by the start date.
> Is there a way?
How about like this?
put gData["task-hours"]["entries"] into tEntries
put the keys of tEntries into tKeys
sort tKeys by tEntries[each]["start-date"]
repeat for each line tE in tKeys
put tEntries[tE] into tR
-- to do: put ... tR["start-date"] ... after tBuf
More information about the Use-livecode