For example, I have two arrays
Array1[0]=A
Array1[1]=C
Array1[2]=H
Array2[0]=1
Array2[1]=10
Array2[2]=5
I want to display or resort these two arrays in the order of Array2's values. Array1 will be resorted too.
For example resort will be
Array2[0]=1
Array2[1]=5
Array2[2]=10
Array1[0]=A
Array1[1]=H
Array1[2]=C
How can I do that?
Thanks