I am a bit confused. The first time I tried it I had the same trouble you 
are having, so I came up with this workaround:

It looks like adding tags is special and changing the tags field to the 
same set of tags in a different order doesn't change anything. This is 
probably to let the add tags functions work properly when you try to add a 
tag that already exists. Either way, you can sort the tags like this:

<$set name="sorted" filter="[is[current]tags[]sort[]]">
<$button>Sort Tags
<$action-setfield $field='sorted_tags' $value=<<sorted>>/>
<$action-setfield $field='tags' $value={{!!sorted_tags}}/>
</$button>
</$set>

But then I tried again using your method and this worked. I don't know why, 
it may be something in the difference between how the set and setTo part of 
a button works and how the action-setfield widget works.

<$set name="sorted" filter="[is[current]tags[]sort[]]">
<$button>Sort Tags
<$action-setfield $field='tags' $value=<<sorted>>/>
</$button>
</$set>


Both of them are shown here: 
http://inmysocks.tiddlyspot.com/#Tags%20Sort%20Test

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to