I have a list:
mylist=[('R',31),('I',80),('A',80),('S',23),('E',35),('C',21)]

I want to rebuild the list sorted from high to low on the sequence-item.

When i call  <dtml-in mylist sort=sequence-item reverse> the list gets
sorted on the sequence-key not the sequence-item.  As I understand the
alphabetical characters are the sequence-keys and the float values are the
sequence-items.

Where do misunderstand?

Roché


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to