Sorting a second array according to the first array

edited January 2014 in How To...

Hello,

I have two arrays, one with strings and one with integers. Both are "linked" to each other, as in, String[i] has an associated value in int[i]. Now I want to sort the array containing the integers, but than the corresponding string values should also be moved.

How can I do this without writing a custom sorting algorithm?

Thanks!

Tagged:

Answers

Sign In or Register to comment.