There are different approaches. The easiest would be to make a button that,
when pressed, populates a fourth field that can then be sorted.
Here's an approach that doesn't require two steps, but it does assume that
"@@" is reserved:
\define sortus()
<$vars lb="[[" rb="]]">
<$list filter="[has[fa]]">
<$list
filter="[<currentTiddler>addprefix[@@]addprefix{!!fc}addprefix{!!fb}addprefix{!!fa}addprefix<lb>addsuffix<rb>]"/>
</$list>
</$vars>
\end
<$wikify text=<<sortus>> name="ready2sort">
<$list filter="[enlist<ready2sort>sort[]]" variable="sorted">
<$list filter="[<sorted>split[@@]rest[]]"/>
</$list>
</$wikify>
On Friday, December 6, 2019 at 7:53:03 PM UTC-8, Mohammad wrote:
>
> Assume you have a bunch of tiddlers
>
> - all tagged with data
> - all have three fields fa, fb, fc
>
>
> How one can produce a list of tiddlers where they are
>
> - sorted first by fa
> - then by field fb
> - then by field fc
>
>
> This means to keep the multiple sort order!
>
> --Mohammad
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/45d4e089-020d-4069-8917-12fd9eaefee1%40googlegroups.com.