ah, that's simple! The example threw me off. Thanks, that's great, and
so I want to first do:
Content.sort(keyComparator("type"));
then
rslt = groupby_as_array(Content, itemgetter("type"));
so everything is nested by type.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---