|
-
Dec 29th, 2014, 05:51 PM
#1
Thread Starter
Member
Sorting 2 Array but keeping them indexed.
What I have is two fields within a single array that I want to sort based off of the 2nd element first, then sort the first element without mixing the array back up. I know there is something here that I don't know. Please Teach me this.
If I have a list that looks like this...
2000 Ford Fiesta
2000 Ford Escort
2001 Ford Fiesta
1999 Ford Escort
I want to first sort the Make, then sort by Year. I have gone as far as to create an ID tag to place on two arrays separating the Year from the Make, that allows for the first sort to work, but when it comes to making the second sort, I am lost. Any help will do, but I prefer the right help over the wrong.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|