[Zope] objectValues sorting in pythonscripts ?

Peter Bengtsson mail@peterbe.com
Tue, 19 Jun 2001 11:00:37 +0200


Sad to say that you have to use another module to do that.
Download SortEx.py (search for SortEx) and create an External Method
instance in the root folder (you'll be using this often).

Instructions comes with the module.


Peter


> Zopatistas,
>
> is there any simple way to sort object instances (as returned from
> objectValues) on properties like you
> can with <dtml-in objectValues sort=title>,  using a python for/in loop ?
>
>
> --
> Geir Bækholt                   web-developer/zopatista
> geirh@funcom.com             funcom oslo | webdev-team
>
>             <!-- PGPid : 0x90B47B20 -->
>
>
> _______________________________________________
> 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 )