in reply to Re: How to get 2nd highest value from an array?
in thread How to get 2nd highest value from an array?

Of course if @list has only one element you may get an unexpected result . . . :)