[Zope] Sorting a dictionary in ZPT

Mark McEahern marklists@mceahern.com
Tue, 11 Feb 2003 12:11:47 -0600


> Is there a better way to do this?

Your subject is misleading.  From what I can tell, you don't want to sort a
dictionary.  You want to sort a list of dictionaries by a particular key
that all of the dictionaries have, true?

Why not make a Python script that does what you want and call *that* from
ZPT?

Cheers,

// m

-