|
-
Sep 28th, 2008, 10:41 PM
#1
Thread Starter
Member
[RESOLVED] [2008] Sort 3 arrays at once
I think I need to use a bubble sort or something of the like.
Basically I need to sort a string array and have to integer arrays get sorted with it.
I would use Array.Sort(myArray) but that would sort them all individually.
Say I have
3 4 bob
2 9 stacey
9 1 max
I need this to be
3 4 bob
9 1 max
2 9 stacey
So the string is sorted alphabetically A to Z and the integers go with it.
Thanks for any help and code.
Last edited by rhijaen; Sep 28th, 2008 at 11:09 PM.
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
|