Sorting question €

Sorting question €

heijmenheijmen Posts: 2Questions: 1Answers: 0
edited October 2015 in Free community support

I am trying to sort a table with € values. Basically instead of commas there is dots.
In my case i have the following values:

€ 1.281.793

€ 3.214.971

€ 4.247.855

€ 4.540.206

€ 49.207.596

€ 6.721.479

€ 7.948.514

€ 9.142.148

The initialization code for this was default.
This is sorted in ascended. It is incorrect as € 49.207.596 is suddenly in the middle.
How can i resolve this?

This is version 1.10.7

This question has an accepted answers - jump to answer

Answers

  • radekkradekk Posts: 1Questions: 0Answers: 1
    Answer ✓

    I have a table with a column displayed a file size in human readable format (so suffixed by kB, MB, GB, etc). I achieved a proper sorting with <td data-order=nnn> parameter (which is a number of bytes always). Hope it helps.

  • heijmenheijmen Posts: 2Questions: 1Answers: 0

    Thank you radekk this is exactly what i was looking for!

This discussion has been closed.