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

Suresh V. suresh_vv at yahoo.com
Fri Mar 1 18:06:29 UTC 2013


On Friday 01 March 2013 02:15 PM, Lennart Regebro wrote:
> 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)
>

Won't the two sorteds step over each other?

Suresh





More information about the Zope-Dev mailing list