Sorting values with currency symbol sort by symbol rather than amount

Sorting values with currency symbol sort by symbol rather than amount

fadetoblack22fadetoblack22 Posts: 3Questions: 0Answers: 0
edited February 2014 in Bug reports
I have various values in a column, for example:

£200
$50
€500
£60
£40

But instead of sorting by number value, it sorts by currency symbol like this:

£200
£60
£40
$50
€500

Is there a way around this?

You can see it in action in the middle of the page here:

bigfreebet dot com.

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    Yes - use DataTables 1.10.0-beta.1 which includes support for these formatting types.

    Allan
  • fadetoblack22fadetoblack22 Posts: 3Questions: 0Answers: 0
    Thanks! Does it still use the latest JS verion?
  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    Latest JS version? It should run on any browser which can run ECMAScript 3+.

    Allan
  • fadetoblack22fadetoblack22 Posts: 3Questions: 0Answers: 0
    Ok, I just asked because I was using a script before that had to have a converter to make it work on the latest javascript code.
This discussion has been closed.