I am trying to combine two arrays to a multidim one.
I have two int arrays stat and indexes.
So the first looks like this 34,56,78,etc holding hundreds of numbers.
The second looks like this 0,1,2,3,4,5 etc.
I want to end with a multidim array like this 34,0 56,1 etc
I want to sort the first dimension while keeping the second dimension locked and staying with its stat.
I know how to create a multidim array, I'm confused about how to fill the values.