Re:Sort an array

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re:Sort an array

Martin Lafaix

> Depending on your dataset (i.e., size, distribution, etc.),
>
> Either (1) sort on country, then on name (using a sort that
> preserve relative order for the second iteration)

Oops, just the opposite (i.e., sort on name first, then country,
using a relative-order-preserving sort for this last step).

Sorry.


Martin
--
[hidden email]
Team OS/2
http://www.mygale.org/~lafaix

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>