Sort a list of integers in descending order

Hi, how do I sort a List of integers in descending order?

E.g. 7,2,10,9,1

becomes 10,9,7,2,1

@DEATHFISH Try this :

integerList.OrderbyDescending(Function(x)x).ToList

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.