The sort[] filter is underpinned by the javascript sort() function, which is not guaranteed to be stable. That is, each time a sort is encountered it can just grab the array however it wants, ignoring the original sort order.
One work-around would be to make a field, e.g. "sortby", that concatenates the vehicle name and the title field. A button could run a <list> with <action-setfield> to set this field for you automatically rather than populating by hand. Then just sort by the sortby field. You could have multiple sortby fields (e.g. sortbyVehicleOwner) for different ways you want to sort. HTH Mark On Sunday, July 2, 2017 at 11:12:03 AM UTC-7, StephanF wrote: > > Hi everybody! > I pass this parameter filter:[tag[jrnl_veh]sort[title]sort[vehicle]] to > a macro to list all tiddlers tagged jrnl_veh sorted by title within vehicle > (a field defined in these tiddlers). In Firefox on a Windows 8.1 box it > works just as it should. In andtidwiki on a samsung tablet it results in a > list properly sorted by title within the first vehicle, but in random (or > at least not sorted) title order within the second vehicle. It must be > sorting the titles in the first vehicle since the tiddlers were not entered > in the desired order (it is a journal style title with a yyyy-mm-dd date). > > How can this be? If the browser is just hosting/displaying, how can a sort > be affected. The only explanation I can think of is the javascript engine > in andtidwiki doesnt work precisely like the one in Firefox. Are there any > other examples of this sort of thing? Is there a different way I could do > the sort so that it works properly in andtidwiki? > > Thanks in advance for any and all help and advice :) > Stephan > -- 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/0761841f-d6e6-4121-bec5-ec5551033718%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

