How to sort 3D array in c#, with each row is specific to one entry if 1D array?
<p>Please guide me as how to sort an array with taking into consideration that each row is specific to one specific column value. For example,</p>

<p>1D array<br>
  5<br>
  3<br>
  4         </p>

<p>2D array<br>
1,2,3<br>
3,4,5<br>
6,7,8  </p>

<p>In above example,let say, 5 (In 1Darray) is associated with the first row of 2d array (1,2,3). Similary, 3 in 1d array is associated with second row of 2d array(3,4,5).And similarly for the third entry of 4 (of 1d array).  Now I want to sort the 1D array with  taking into consideration that the associated rows with each  1D array element also change accordingly. I mean its kind of auto-arrangment of rows with change of column values.      Please guide Regards   Asad</p>
