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.....
How exactly do you want to sort it? Each row in ascending order, or entire array in ascending order, line by line, or what? Tell us what sample output you need...
That depends on how you want to sort it.
Topic archived. No new replies allowed.