How do I sort by two fields?

I have a data file in TOML with an array. I want to sort by multiple fields in a range statement in a template, but can’t figure out how to do it. Sort only seems to take one value.

Alternatively it would be cool if I could append two range values that are each sorted and filtered the way I like. I’m not sure how to do that either.

This was probably answered somewhere, but I couldn’t find it here or Googling. Thanks in advance.

Sorting by multiple values is something I would like to do as well. Did you find an answer to your question?

Here’s a previous post which shows how to order by two params: Order by multiple params