求教一个简单题,多维数组排序,
数组a[6][9],a[0][9]={1.088798 ,1.612757 ,
0.262901 ,
2.264943 ,
0.337171 ,
0.156911 ,
0.792051 ,
0.455703 ,
1.283386 ,
},
a[1][9]={0.649414 ,
0.702114 ,
0.062733 ,
0.335852 ,
0.045273 ,
0.016798 ,
0.058785 ,
0.030056 ,
0.042392 ,
},
a[2][9]={1.676586 ,
2.297001 ,
4.190798 ,
6.743864 ,
7.447439 ,
9.341236 ,
13.473582 ,
15.161915 ,
30.274003 ,
},
a[3][9]={2.765384 ,
3.909758 ,
4.453699 ,
4.478921 ,
7.78461 ,
9.498147 ,
12.681531 ,
15.617618 ,
28.990617 ,
},
a[4][9]={74.849868 ,
88.32345 ,
90.000036 ,
96.7439 ,
99.040901 ,
108.382137 ,
123.544052 ,
130.991491 ,
135.182289 ,
},
a[5][9]={68.955037 ,
81.636568 ,
85.546326 ,
90.000025 ,
92.765409 ,
102.263556 ,
117.881174 ,
125.665784 ,
130.144705 ,
},
要求从小到大排序a[0][9]={1.088798 ,
1.612757 ,
0.262901 ,
2.264943 ,
0.337171 ,
0.156911 ,
0.792051 ,
0.455703 ,
1.283386 ,
},
其它数据随着a[0][9]排序而移动;