Mohammad, Consider this psydo code
Here is some psudo code \define first-level(roottag) Call/list <<remaining-levels tiddler>> for every tiddler tagged with root- tag Sort the first level by caption (Children) \end \define remaining-levels(tag) Call/list <<remaining-levels tiddler>> by manual order in list filed for every tiddler tagged with $tag$ (grandchildren and greatgrandchildren etc..) \end and call with <<first-level roottag>> I am sure you have the skills to fill this out, but don't hesitate to ask. If you want to stop the TOC going more than three levels deep just rename remaining-levels to children, and have it call a new macro called grand children which does not call any other macro. Regards Tony On Tuesday, August 7, 2018 at 6:00:05 PM UTC+10, Mohammad wrote: > > Tony, > Would you please explain a little more! I did not understand how it can > be done! > > Best > Mohammad > > On Tuesday, August 7, 2018 at 6:17:57 AM UTC+4:30, TonyM wrote: >> >> Mohammad, >> >> Build your own toc macros with the first level sorted as desired, then >> second and subsequent levels with no sorting, and the recursive process >> mentioned by myself recently. >> >> I have being looking for some example code I have but have not found it >> yet. >> >> Regards >> Tony >> >> On Tuesday, August 7, 2018 at 4:43:36 AM UTC+10, Mohammad wrote: >>> >>> How is it possible to use toc-selective-expandable and >>> >>> - Sort the first level by caption >>> - The second and third level by manual order in list filed >>> >>> >>> *Mohammad* >>> >> -- 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/3bae1b6e-b474-44e0-95d8-69af183f5e80%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

