Hello,
I have this array:
[3,1,2,2]
[2,8,7,1]
[3,3,9,6]
[1,4,3,5]
and i'd like to sort it in ascending order by the first element into:
[1,4,3,5]
[2,8,7,1]
[3,1,2,2]
[3,3,9,6]
I tried Array.Sort by that only works for 1 dimensional arrays. How does one accomplish this in C#?
Many Thanks.