How to find n max or min values of the buffer?

 

Hello guys,

Do you know how to find "n" max or min values of the buffer?

I use ArrayMaximum to find max value of the buffer, but I need 3 highest value of the buffer.

How to get them? 

 

Thanks a lot.

ArraySort resolved my problem. :)

 
marky_74:

Thanks a lot.

ArraySort resolved my problem. :)

Welcome. Of-course I knew it would :)