I am sorry, I should have said also that I am using SandstoneDb to try to save these objects. A SortedCollection is the type of collection I need, but SandstoneDb cannot save it.

Sorry I failed to specify that.

David Zmick
/dz0004455\


On Sat, Dec 11, 2010 at 5:14 PM, Alan Rodas <alanrodas@gmail.com> wrote:
Sometimes an image is worth a thousand words. So this image I made may help you.

Also, as Mariano points out, remember that you can convert from one collection to another by sending the message #asCollectionName replacing the CollectionName for the collection you want.

So for example to remove all duplicates from a collection, asSet is a simple and pretty way to do it.

Cheers
--�
Alan Rodas Bonjour