Usuario:Tgor/sortingtest

De Wikipedia, la enciclopedia libre

Bug 56952

test
1,2
-5
1200,2
12 001,5
9010,9
how should sort
-5
1,2
1200,2
9010,9
12 001,5

The spanish convention is to use comma or point (comma preferred) as decimal separator. Space as delimiter (eg. 12 000), the space delimiter is not used in four digits numbers (e.g. 4000).

Using dot as delimiter
test
1.2
-5
1200.2
12 001.5
9010.9
how should sort
-5
1.2
1200.2
9010.9
12 001.5