I am using the TableSorter plugin in jquery. However one of the column in the table is listed as follows :
Market Cap
- $12M
- $1.2B
- $3B
- $34M
And the TableSorter is not working properly. Any idea how to fix it. Any other plugin which I can use ?
P.S: I cannot do-away with suffix M & B. So I cannot Mathematically modify the Market cap so that it works properly.
Thanks
Check this fiddle out
Looking through the docs of TableSorter it looks like you can create a custom parser.
Created this simply parser and it looks to do the trick