TakeLargest

WMA link


TakeLargest[list, f, n]

returns the a sorted list of the n largest items in list.

List the largest two numbers of a list:

None, Null, Indeterminate and expressions with head Missing are ignored by default:

You may specify which items are ignored using the option ExcludedForms:

Sort
TakeSmallest