Am Freitag, 27. Dezember 2013 23:01:59 UTC+1 schrieb Lorenzo:
>
> Mh... maybe no... You do a numeric comparison only when both values are 
> numeric, otherwise you compare two strings.
>

You do not program very often, do you? Trust me: It works. If you have 
mixed mode lists, numbers will be sorted in an alphabetically sorted list, 
but they will be sorted numerically.

So "1","10","2","!!!","test",",,," will be sorted:
,,,
!!!
1
2
10
test

and not

,,,
!!!
1
10
2
test

 

> It's OK if you have lists with only numbers or only strings, but using it 
> on a list with numbers and strings, you use the numeric mode everytime you 
> have two "numeric strings", probably resulting in a list ordered 
> numerically where you have numeric values and alphabetically where you 
> have strings.
>

And what should be the alternative?
 

> Anyway, in general, I prefer not to change the core code so I can upgrade 
> TW on every new release, everywhere and without to recompile (only with a 
> drag & drop of the html file).
>

I just asked you to test it. I want to put it into the core, provided 
Jeremy likes it.

-- 
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