jQuery 1.7.1 & tablesorter plugin - I have a currency column with thousand separators and values like $52.00 $26.70 $100.00 $50.00 $1,002.00 $1,102.00. When I try to sort getting sorted in the following way,
$1,002.00
$1,102.00
$26.70
$50.00
$52.00
$100.00
Need values like,
$26.70
$50.00
$52.00
$100.00
$1,002.00
$1,102.00
Tried many solutions mentioned here, but no success.
str.replace(/,/g, '')
. To add them back in, see my answer here. – Tanhya