[Zope] dtml-in sort by generic function

Dieter Maurer dieter@handshake.de
Wed, 28 Mar 2001 20:17:38 +0200 (CEST)


Oleg Broytmann writes:
 >    Ok. Do you see any non-cmp functions beynd these "locale" and
 > case_insensitive? :) I can't work out a good set of predefined functions.
 > All those string, date, numeric comparisons - they are just cmp and
 > nothing more.
Maybe, you already found the most essential ones.
Of course, it would be easy to add further ones, when we find
some more interesting candidates.

BTW, are all "locale" comparison functions case insensitive?
Unlike most other people, I like case sensitive comparisons.



Dieter