[Zope] dtml-in sort by generic function
Oleg Broytmann
phd@phd.fep.ru
Tue, 3 Apr 2001 17:42:19 +0400 (MSD)
On Mon, 2 Apr 2001, Dieter Maurer wrote:
> > http://classic.zope.org:8080/Collector/2120/view
> Great!
>
> When I saw your announcement a crazy idea came to my mind:
>
> What, if your code would be made available as an External Method.
> Then, you could use it independantly from "dtml-in" for sophisticated
> sorting of sequences.
Something like
<dtml-in "genericSort(mySequence, sort="weight/cmp/desci,title/locale")">
???
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.