Here is a range of numbers provided as an example. It could be any unsorted range/list of numbers you're working on:
Your data set is large and for some specific analytical reason you'd like to track the sum of several largest and smallest numbers in your set. The ARRAY formulas come to help and are very efficient in such cases.