Folks, I back my last post up with an example you can test on TiddlyWiki.com
;Exceptions before <$list filter="[!is[system]prefix[The ]] [!is[system]prefix[A ]] [!is[system]prefix[An ]] +[sort[]]"> </$list> <$button> <$list filter="[!is[system]!prefix[The ]] [!is[system]!prefix[A ]] [!is[system]!prefix[An ]]"> <$action-setfield $field="sort-key" $value=<<currentTiddler>> /> </$list> <$list filter="[!is[system]prefix[The ]]"> <$action-setfield $field="sort-key" $value={{{ [<currentTiddler>removeprefix[The ]] }}} /> </$list> <$list filter="[!is[system]prefix[A ]]"> <$action-setfield $field="sort-key" $value={{{ [<currentTiddler>removeprefix[A ]] }}} /> </$list> <$list filter="[!is[system]prefix[An ]]"> <$action-setfield $field="sort-key" $value={{{ [<currentTiddler>removeprefix[An ]] }}} /> </$list> Set ALL sort Keys </$button> ;Exceptions after <$list filter="[!is[system]prefix[The ]] [!is[system]prefix[A ]] [!is[system]prefix[An ]] +[sort[sort-key]]"> </$list> Notes - The above is a first draft, and it updates every tiddler not just those with unwanted prefixes - The code could be a list that feeds the prefixes into it and be much more compact. - There may be a way to sort based on title except for those with a sort-key, but not sure yet Regards Tony On Sunday, March 22, 2020 at 10:34:46 AM UTC+11, TonyM wrote: > > Folks > > As with the prefix sort issue its a simple matter to make a sort field in > every tiddler and use that instead. > > However other than prefixes in natural language including more in a title > is building a compound key. This always results in complications like this. > I would avoid prefixes in tiddler except as a namespace like $:/ > > rregards > Tony populate it with a list and actions inside a button. > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b058d84d-9d65-41ac-b37f-296ea339c6e3%40googlegroups.com.