Hi!

Is there a way to sort tiddlers numerically?

For example I have some tiddlers with a field ("max-mv") that contains a 
numeric value and I want to create an ordered list based on the value in 
that field. But if I use the "*sort*" and "*sortcs*" operators, "max-mv" is 
processed as text, resulting in a list ordered like this:

 19
 23
 3
 35
 37


OK, I can add some zeros before the number or write a custom function to 
override something, somewhere... :) (I don't know how the new TW5 widgets 
work right now!).

But I think a built in "*nsort*" operator could be useful. And when the 
field used as a parameter doesn't contain a number, the parent tiddler will 
be listed at the end of the list (or you can fallback in the "*sort*" 
behavior, but I think it's preferable to put the tiddler at the end of the 
list).




Thanks,
Lorenzo

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to