C
Carlos
I have the following two dimension array:
public double[,] mData = new double[259200,3];
now I need to sort the values based on the values of third index of the
second dimension, like
[0,0]= 11
[0,2]= 22
[0,3]= 444
[1,0]=1
[1,2]=33
[1,3]=11
[2,0]=333
[2,2]=44
[2,3]= 222
I need it to be after sorting using the third (index 2) of the second
dimension
[0,0]= 1
[0,2]= 33
[0,3]= 11
[1,0]=333
[1,2]=44
[1,3]=222
[2,0]=11
[2,2]=22
[2,3]= 444
Thanks in advance for you help
public double[,] mData = new double[259200,3];
now I need to sort the values based on the values of third index of the
second dimension, like
[0,0]= 11
[0,2]= 22
[0,3]= 444
[1,0]=1
[1,2]=33
[1,3]=11
[2,0]=333
[2,2]=44
[2,3]= 222
I need it to be after sorting using the third (index 2) of the second
dimension
[0,0]= 1
[0,2]= 33
[0,3]= 11
[1,0]=333
[1,2]=44
[1,3]=222
[2,0]=11
[2,2]=22
[2,3]= 444
Thanks in advance for you help