I have a multidimensional array that has the following values:
multiarray = new int[,] { { 8, 63 },
{ 4, 2 },
{ 0, -55 },
{ 8, 57 },
{ 2, -120},
{ 8, 53 } };
What i need to do is sort the array by the first column, and then where the values are equal, by the second column.
Ideally output should look something like this:
8, 63
8, 57
8, 53
4, 2
2, -120
0, -55
What is the best way to do this?