How to get the max number in list?

Is there a way to get the max number in one list? Or arranged them from largest to smallest.
I tried Max node and Compare node, only Used to compare two lists.
Thanks.

Hello UCWS, have you tried with the node “sort list”?

Thanks nicola!
This is the only list node I don’t know how to use.
I should try it. :joy:

Connect the list to both the “K” and the “V” values. The sort order is determined by the list that is the input of the “K” attribute.