[Zope] sequence.sort: how can I sort strings?
Oleg Broytmann
Oleg Broytmann <phd@phd.pp.ru>
Mon, 25 Mar 2002 12:24:01 +0300
On Mon, Mar 25, 2002 at 12:06:27PM +1200, Danny Adair wrote:
> How can I sort a sequence of STRINGS using sequence.sort?
> I don't know what to use as a "key"...
>
> (I tried self, str, value, '', _.None, ....... :-))
>
> Or in other words: What's the attribute of a string that returns the string
> itself?
There is no. Why not use just alist.sort()?
Oleg.
--
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.