Use nsort (content-index) Nsort = numeric sort
Theres also sortcs (case sensitive), and a few others. On Sun, Jul 21, 2019, 3:08 PM Damon Pritchett, <[email protected]> wrote: > Hello, > > I'm trying out your tocP plugin and I like it a lot. The only trouble I'm > having is in adding a sort option. I have a field entitled content-index > which contains a numeric value indicating the order I would like things to > appear. I tried adding sort[content-index] to the macro call, but it has no > effect. It always sorts on the title (or caption if there is one). I'm > using a custom field in for the TOC generation so am wondering if this is > where the problem might lie. I haven't tried the default parent field yet, > but that's next. > > Thanks, > > Damon > > > On Saturday, May 6, 2017 at 11:00:02 AM UTC-7, PMario wrote: >> >> Hi, >> >> Did you add the new class name as shown below? >> >> <div class="tocp <----- tc-table-of-contents"> >> <<tocP root>> >> </div> >> >> It can be any name you want. ... You just need to set up some style sheet >> settings with your own name. >> This makes it possible, to use different colors for different field names >> and have a much better visual differentiation. >> >> -m >> >> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/fab8b9d8-3029-47f6-b55e-4f6b3b65b4b0%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/fab8b9d8-3029-47f6-b55e-4f6b3b65b4b0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJu7H0ZJeLA5uMFNeQwRNOGt5zgVmXP5GLKwE7d_gyv4Wf5pgQ%40mail.gmail.com.

