Using Mohammad macro, I cannibalized the replace-tag wizard macro to create 
following wizard

\define sortTagWizard()

<$edit-text
tiddler="$:/temp/sort-tag-tiddlers"
field="sortTag"
tag="input"default=""
placeholder="select tag to sort"
focusPopup=<<qualify "$:/state/popup/sort-tag-tiddlers">>
class="tc-popup-handle"/><$buttonpopup=<<qualify 
"$:/state/popup/sort-tag-tiddlers">>
class="tc-btn-invisible tc-btn-dropdown"
tooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}}
aria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}>
{{$:/core/images/down-arrow}}</$button>
&nbsp;<$reveal state="$:/temp/sort-tag-tiddlers!!sortTag" type="nomatch" 
text=""><$button class="tc-btn-invisible 
tc-btn-dropdown"><$action-deletetiddler $tiddler="$:/temp/sort-tag-tiddlers"/>
{{$:/core/images/close-button}}</$button></$reveal><$reveal 
state="$:/temp/sort-tag-tiddlers!!sortTag" type="nomatch" text=""><$macrocall 
$name="tagsort" mainTag={{$:/temp/sort-tag-tiddlers!!sortTag}} label="Sort 
{{$:/temp/sort-tag-tiddlers!!sortTag}} tag"/></$reveal><div 
class="tc-block-dropdown-wrapper"><$revealstate=<<qualify 
"$:/state/popup/sort-tag-tiddlers">>
type="nomatch"
text=""
default=""><div class="tc-block-dropdown"><$linkcatcher 
to="$:/temp/sort-tag-tiddlers!!sortTag"><$list 
filter="[tags[]search:title{$:/temp/sort-tag-tiddlers!!sortTag}sort[]]">
{{||$:/core/ui/Components/tag-link}}</$list></$linkcatcher></div></$reveal></div>
\end
<<sortTagWizard>>

It does not take advantage of sort order option, due to lack of my skills. 
What you get is

Hope someone would find it useful.
​

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4e568eea-7a65-400d-ba6f-56b35d4f8a18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to