Here’s a combined question and idea:
I want to sort by the list of a variable. The variable is a tiddler. Essentially, this non-existing “named filter prefix” would solve it like so:
:sortby[list<variable>] (the variable is some tiddler title)
(I think it is self explanatory what it is supposed to do, please tell me if not.)
Currently, there’s otherwise a problem to (1) extract the list field from that variable title and (2) to sortby it.
One possible solution would be sortby{$(variable)$!!list} but, unless I am mistaken, this would require splitting it out into a separate macro. This is not optimal. (And could that syntax even be a in procedure?)
Frustratingly, I also don’t understand how it can be solved with either of these:
Questions
- Any good solution?
- Would it make sense to propose a
:sortbyfilter prefix?
Thank you!