
dwarnold45
Novice
Jun 29, 2011, 10:44 PM
Post #1 of 4
(1307 views)
|
Sort two arrays together
|
Can't Post
|
|
All, Suppose I have two arrays @a,@b. When I sort @a in ascending numerical order, I'd like to make an identical sort on @b. That is if: @a=(2,5,4,3) @b=(a,b,c,d) Then I want: @a_sort=(2,3,4,5) @b_sort=(a,d,c,d) And ideas? Done this one before? D.
|