On Sun, 18 Feb 2001 11:12:57 GMT, Fredrik Lundh <fredrik at pythonware.com> wrote: >except that it doesn't always work: And as Andrew Dalke pointed out: >>> L=[1j, 2j] >>> L.sort() Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: cannot compare complex numbers using <, <=, >, >= >>> --amk