Creating empty sorted NotesDocumentCollection

Hello,

I have search this and other forums trying to find out which is the best way to create a empty sorted documentcollection.

The reason I want it sorted is that reading the designer help it says that only in a sorted dc adding documents will be done in a ordered fashion otherwise in random. Or am I missunderstanding something?

My current solution is to do a db.FTSearch resulting in one document and removing that document from the collection - TADAA.

This raises two questions :

is there any ACL/ECL/other security on NotesDocumentCollection.DeleteDocument?

is there any faster way to search a db than FTSearch giving me the same result?

Thanks in advance for your help.

Subject: Creating empty sorted NotesDocumentCollection

I found this thread in this forum:http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/afaa12bd1ecebc2985256cce003ee5a8?OpenDocument

Subject: RE: Creating empty sorted NotesDocumentCollection

Thank you Carl,

I’ve read that thread and I don’t find any answer to my questions in it.

Sure there is code to make an empty documentcollection but it is not sorted.

Best Regards Palle