TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
joy.simpson
NA
228
0
How can I sort parallel arrays?
Nov 13 2003 5:38 PM
I need to sort several parallel arrays, some strings, some numbers, so they don't lose the matching data. They will need to be sorted primarily by the name - a string array. I know it can be done with a bubble sort, but I was unable to get the > or < operator to work with strings (although I tried it a while ago so I'm not sure). Using the Array.Sort method, it only works with one array at a time and the rest will no longer match up, unless there's some special technique I don't know about. (I think I was also unable to get it to work with strings the last time I tried.) What is the best and simplest way to sort parallel arrays, including strings?
Reply
Answers (
1
)
Can we move in the console ?
I want to write a scanning function?