can you pls help me find a way to sort two dimensional arrays with a size of [5][2] integer...i want to sort it from highest to lowest... can you pls help me with the codes...i only know how to sort 1 dimensional array using

bubble sort...

Code:

printf("\nThe numbers from highest to lowest are: ");
for(x=0;x<=8;x++)
for(y=x+1;y<=9;y++)
if(num[x]>num[y]){even = num[x];
num[x]=num[y];
num[y]=even;
}
for(x=0;x<=9;X++)
printf("\n%d",num[x]);

how about with two dimensional arrays?????