I knew I should have thought about it a bit more. My method will fail
if there are multiple objects with identical sort elements; adding a
second one to the dictionary will erase the first. Before adding an
element you could test the dictionary, but I'm not sure what you'd do
then. It may depend on what you want to use the sort for.
On Sep 29, 2006, at 8:00 PM, John Kubie wrote:
1. In parallel with the object array, make a 1-dimensional array of
the variable you want to sort on.
2. make a dictionary with paired elements: 1-dimensional array
element -- associated object
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>