.net - Sort a List(Of Tuple) -
i have list this:
dim results_list new list(of tuple(of string, string, long))
with contents:
(b, a, 5000) (g, a, 1000) (b, b, 8000) (g, b, 2000)
can use linq (or whateverelse not using slow for) sort items long numbers in ascending mode this?:
(g, a, 1000) (g, b, 2000) (b, a, 5000) (b, b, 8000)
var sorteditems = list.orderby(t => t.item3);
Comments
Post a Comment