I think that the list-before and list-after mechanism need to be updated. I 
spent the last few minutes looking at it and from what I can tell it is a 
problem with the sorting algorithm. It isn't an appropriate method for 
sorting lists like this.

Each step does exactly what is expected but it happens one step at a time, 
it isn't a set of rules for finding an acceptable solution. That is why it 
doesn't give the output you expect.

A rule-based ordering like you are expecting is a significantly more 
complex operation than handling each 

What happens in your example: 

The items are processed in the order they appear in the original list.

Original list: New Tiddler, New Tiddler 1, New Tiddler 2, New Tiddler 3

First step: Move New Tiddler to the position after New Tiddler 1 (list 
after) ->  New Tiddler 1, New Tiddler, New Tiddler 2, New Tiddler 3

Second step: Move New TIddler 1 to the position after New Tiddler 2 (list 
after) -> New Tiddler, New Tiddler 2, New Tiddler 1, New Tiddler 3

Third step: Move New Tiddler 2 to the position after New Tiddler 3 (list 
after) -> New Tiddler, New Tiddler 1, New Tiddler 3, New Tiddler 2

Fourth step: Move New Tiddler 3 to the first position (empty list before) 
-> New Tiddler 3, New Tiddler, New Tiddler 1, New Tiddler 2


I don't know of a way to make a rule-based sorting algorithm that isn't 
very processor intensive so I don't think there is much we can do to fix 
the problem.

-- 
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/d8b6e71a-f084-45f9-b54c-4307edb4f83d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to