How can I sort parallel arrays?
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?