[Zope] Re: Enhanced sorting facilities

Oleg Broytmann phd@phd.fep.ru
Mon, 23 Apr 2001 21:39:12 +0400 (MSD)


Hello!

   In response to Brian's comment #12 at
http://dev.zope.org/Wikis/DevSite/Proposals/ExtendedDTMLSorting
   I implemented Extended Sort External Method:
http://www.zope.org/Members/phd/Sort/#Ex.

   The syntax is slightly different:
SortEx(sequence, ((key,), (anotherkey, locale))). I wrapped the sort
options in one tuple because I need to pass namespace and mapping
parameters: SortEx(sequence, ((key,), (anotherkey, locale)), mapping=1).

   Command-line and Zope tests provided.

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.