Possible to sortBy with 2 values?

I’m wondering if there is an elegant way to use 2 tiered values for sorting eg. sort a group of people by age and then, if there were a bunch of people who were 25 years old to then sort them by surname (and so on through the whole group). Many thanks.

Yes, that’s possible, see the docs (example 2)

1 Like

excellent – thanks. I should have found that.