In the documentation for the slice_min() and slice_max() functions it says that the order_by argument can be a variable or function of variables to order by.
What is meant by function of variables, and how could this be applied in a practical sense? Could it, for example, be used to supply a custom order of categorical values?
I've tried what feels like an exhaustive search for info online, but to no avail, so I'm turning to you good folk. Thank you.