This object implements a SortedList, something like the Smalltalk SortedCollection. Objects can be added to the SortedList, and will always be kept in sorted order. It's primarily an internal programming data structure that most users won't see directly.
It uses the NeXT List object. If you don't have a List class in whatever environment you're using, you're out of luck.
The SortedList intended for smallish collections of objects, roughly what a List object can deal with.
I hope this object will enourage others to post their possibly useful Objective-C objects to the net. A large library of these things would be very helpful.
GNU copyleft rules apply. If you improve on this object, make the source available too. You can use the object in your own programs without attribution.
I'm not responsible for anything if something goes wrong. I'll be happy to take the credit if something goes right, however :-).
MANIFEST:
SortedList.rtf The documentation of the object, modeled after NeXT's.
SortedList.h The interface file
SortedList.m The implementation file
README This file
Don McGregor
Feb 1992
mcgregdr@conan.ie.orst.edu (Regular mail for now)
mcgredo@bluto.ie.orst.edu (NeXT Mail; probably not much longer)