Sort an arraylist

ExcludeReality

Active Member
Licensed User
I have an arraylist with three items (all numbers).
And I want to sort it by value so that I get the highest number at the top.

It sounds so simple, but I haven't found a way to do it.
Any ideas?
 

ExcludeReality

Active Member
Licensed User
Thanks.
I guess the result was wrong because I forgot to reverse
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…