sorting multi dimensional array

2004-03-25 Thread N, Guruguhan \(GEAE, Foreign National, EACOE\)
Hi All, I have an array that is build like this foreach $i ( 0 .. @array1) { foreach $j ( 0 .. @array2) { $array3[$i][$j] = $array2[$j]; } } The array3 has m rows and n columns of data. This code is written by some one else and I am trying to get the statistics

RE: sorting multi dimensional array

2004-03-25 Thread Charles K. Clarkson
N, Guruguhan (GEAE, Foreign National, EACOE) [EMAIL PROTECTED] wrote: : : I have an array that is build like this : : foreach $i ( 0 .. @array1) { : foreach $j ( 0 .. @array2) { : $array3[$i][$j] = $array2[$j]; : } : } Are you sure this code functions correctly? Looks like

sorting multi dimensional array

2004-03-17 Thread N, Guruguhan \(GEAE, Foreign National, EACOE\)
Hi All, I have a multi dimensional array build like this $array[$i][$j]. This array has some 50 values and I would like to sort this in ascending order. Can somebody tell me how to do this? Thanks Regards Guruguhan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: sorting multi dimensional array

2004-03-17 Thread Charles K. Clarkson
N, Guruguhan (GEAE, Foreign National, EACOE) [EMAIL PROTECTED] wrote: : :I have a multi dimensional array built like this : $array[$i][$j]. This array has some 50 values and I would : like to sort this in ascending order. Can somebody tell me : how to do this? How do you want to

RE: sorting multi dimensional array

2004-03-17 Thread Ed Christian
N, Guruguhan (GEAE, Foreign National, EACOE) wrote: Hi All, I have a multi dimensional array build like this $array[$i][$j]. This array has some 50 values and I would like to sort this in ascending order. Can somebody tell me how to do this? Quick and easy (but certainly not