Python dictionaries are unsorted. I have seen several implementations of sorted dictionaries flying around on the net. Check google for "python sorted dictionary" or so. -aj ----- Original Message ----- From: "p.t." <p.training@tin.it> To: <zope@zope.org> Sent: Thursday, May 16, 2002 17:59 Subject: [Zope] building a sorted dictionary
Not knowing Python very well, I could'nt manage to find a way to build a dictionary in a predefined sort sequence: any attempt produces a "random" result. Any hint? TIA, p.t.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )