Try this:
- Similar to my previous solution here: How do you hide a tag on the tag manager tab? - #2 by EricShulman
- In
$:/core/Filters/AllTagschange the “filter” field from
[tags[]!is[system]sort[title]]
to
[tags[]!is[system]sort[title]subfilter{$:/config/SortTags}] [tags[]!is[system]sort[title]!subfilter{$:/config/SortTags}] - Then, create a new tiddler named
$:/config/SortTags - In its
textfield, enter a space-separated list of tags you want to sort. If a tag value contains spaces, enclose that value within doubled-square brackets. - The
$:/config/SortTagstext contents can include filter syntax. Thus, if you want to sort by any tags that start with “Chapter”, you could just enter:
[prefix[Chapter]] - Note that the new
$:/core/Filters/AllTagsfilter has two filter runs:- The first run selects and sorts tags in the order specified by the filter in
$:/config/SortTags. - The second run then lists all tags not otherwise specified by the
$:/config/SortTagsfilter (using default “by title” ascending alpha order)
- The first run selects and sorts tags in the order specified by the filter in
- You can combine this with my previous “hide tags” solution, by adding
-[subfilter{$:/config/HideTags}]to the end of the$:/core/Filters/AllTagsfilter.
Thus, the complete $:/core/Filters/AllTags “sort and hide” filter should be:
[tags[]!is[system]sort[title]subfilter{$:/config/SortTags}]
[tags[]!is[system]sort[title]!subfilter{$:/config/SortTags}]
-[subfilter{$:/config/HideTags}]
enjoy,
-e