Sorting by primary, secondary, etc. fields.January 23 2008 at 10:43 PM | Solitaire (Login Solitaire1) S |
Response to Technique for sorting parallel arrays |
| This is an addendum to the above post which shows how to sort using a primary field. If a secondary or tertiary field sort (or more) is needed, the routine needs to be repeated IN REVERSE ORDER. First sort using the least significant field, and finish with the primary key field last.
This message has been edited by Solitaire1 on Jan 24, 2008 11:07 AM
|
|
|