How could i perform sorting in 2d array

How could i perform sorting in 2d array.For eg 2d array is
int arr[2][4]={(23 34 45 5),(22 44 55 54)}

Please help me i need urgent help.....
Sorting is only obvious in 1d arrays.
There is a billion ways to sort a 2d array, eg. as if it was one long 1d array, or each line separately, or each column separately.
You need to say what kind of state you're trying to reach.
Last edited on
Topic archived. No new replies allowed.