If you decide to spill the results, you can then use the spilled range operator (#) to perform a calculation on the spilled ...
The SORT and SORTBY functions let you extract certain columns and rows from a dataset and sort them in a certain order, all while preserving the source data. Even though they work in similar ways, ...