Apologies if this has been answered elsewhere. Assume it is, but I’ve been unable to find the answer.
What I’m trying to do
I want to sort the results of a Dataview query by sub-tag. I want to use tags like #todo/1 and #todo/2 on notes and then be able to list out notes sorted by #todo.
Things I have tried
I’ve tried sorting by tag (e.g., SORT #todo) which yields an error and by tags (e.g., SORT file.etags) and index e.g., SORT file.etags[0]) neither of which works because there are often multiple tags in different sequences.
I’m sure there’s an easy way to do this but, thus far, I’ve not been able to figure it out.