Dec. 23, 2009
9:41 p.m.
Nicolas Cellier wrote:
SortedCollection should be used as rarely as possible. In the past it was used for sorting which is a misuse of this data structure (I wonder why such data strucure exists at all, it's almost never useful).
The only case should be to keep collection automatically sorted when its contents further evolves...
Yes, that has always been its only purpose. And it seems valuable, though I'd like to see it expanded to a collection with 0-n automatically-maintained sort orders, rather than exactly one sort order. Regards, -Martin