[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

>What decides the default sort order for the values returned when I do a 
>"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@xxxxxxxxxxxxxxxxxxxxx


_______________________________________________
Zope maillist  -  Zope@xxxxxxxx
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )



This mailing list archive is a service of Copilotco.