[Zope] Default sort order for objects in objectManagers ??

Toby Dickenson tdickenson@geminidataloggers.com
Tue, 07 May 2002 13:42:06 +0100


On Tue, 07 May 2002 14:33:27 +0200, Max M <maxm@mxm.dk> wrote:

>What decides the default sort order for the values returned when I do a=20
>"objectIds()" etc?
>
>I cannot find it on either Google or in the source.
>
>It seems that it's sorted in creation order.

Order in which they were added to the folder, which is almost the same
thing.

> Is that correct and guaranteed?

No. It is possible that there will be an API for changing the order
added to ObjectManager in Zope 2.6

Toby Dickenson
tdickenson@geminidataloggers.com