Hello, I am using @Mohammad’s Shiraz dynamic table and struggling to sort one particular column due to how the underlying tags
field is mapped.
My use case is for personal collection management. As seen in my wiki:
Further down the same table…
All tiddlers are tagged with game
, which is excluded from view using the Exclude Tags version of the macro.
There should not be a gap there.
What is happening: The tiddlers at the top of the table are tagged [[all-time games]] games
, while the tiddlers further down are games [[all-time games]]
. Shiraz is doing a simple sort of the tags
field in alphabetical order, hence the inaccuracy.
I’d rather not edit all the entries manually. Moreover, this may come up again in future as the TiddlyWiki interface for editing tags always sorts tags on its own.
This leads me to two possible solutions:
- Can I force Shiraz to re-arrange the tags field before sorting it, similar to how the TW interface does it?
- Alternatively, is there an easy way to sort the underlying field data, and store it sorted?