diff --git a/editions/tw5.com/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid b/editions/tw5.com/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid index 76dbfcbf6..86ee4280d 100644 --- a/editions/tw5.com/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid +++ b/editions/tw5.com/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid @@ -1,5 +1,5 @@ created: 20161209172820513 -modified: 20161209174234840 +modified: 20190220000000000 tags: Learning title: How to change the sort order of sub-branches in a TOC macro type: text/vnd.tiddlywiki @@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki Imagine that you are using a [[Table of Contents|Table-of-Contents Macros]] macro similar to this: ``` -<> +<> ``` The sorting is fine for most cases, but you would like all your items tagged `Journal` to be sorted by the `created` field. How can you apply a separate sort order to just those sub-items tagged `Journal`? @@ -17,7 +17,7 @@ The trick is to add a field to the parent tagging tiddler (i.e. `Journal`) that Now change your [[Table of Contents|Table-of-Contents Macros]] to look like this: ``` -<> +<> ``` Now your Table of Contents will sort by title everywhere, except for the children of the `Journal` tiddler, which will sort by the `created `date.