[Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

Lennart Regebro regebro at gmail.com
Fri Mar 1 08:45:53 UTC 2013


I'm sorry, it's early in the morning. It is of course:

>      sorted(sorted(news_stories, key=lambda x: x.publication_date,
>                reverse=True), key=lambda x: x.category)

I forgot the "key=" bit.


More information about the Zope-Dev mailing list