[Zope] multi-column sort with ZCatalog

Chris Withers chrisw@nipltd.com
Wed, 14 May 2003 10:45:15 +0100


Andreas Jung wrote:
> 
>> Is there any way I can do the sort on multiple columns? This seems like
>> an important feature. I've heard that is not possible, but I'm wondering
>> if I am just missing something/getting wrong info.

ZCatalog doesn't support it, and I would agree that it's one that's very 
important and is missing :-(

> you can use sequence.sort() to perform multi-column sorting on the 
> resultset.

Yes, but surely it would be more efficient if ZCatalog did this 
internally and used some BTree magic to help...

cheers,

Chris