I have this code for displaying a list from an array:
<table cellpadding="0" cellspacing="5" border="0" class="listTable">
@foreach(var row in list){
<tr>
<td>@row[0]</td>
<td>@row[1]</td>
<td>@row[2]</td>
<td>@row[3]</td>
</tr>
}
</table>
What I want is to sort the array "list" by index 3 in an ascending order before showing the list.
I have searched for hours now, because I was sure this had been adressed before, but I found nothing. Could be that I am using wrong terms when searching, if so then please point me in the right direction.