hi there,

i am trying to sort a 2d array with no luck... this is what i have

for a single array.

any help would be appreciated.

int array[7] = {'6','3','1','4','2','5','7'};

for(i=0;i<7;i++)

for(j=0;j<7;j++)

{

if(array[j+1] < array[j])

{

temp = array[j];

array[j] = array[j+1];

array[j+1] = temp;

}

}