How do I sort money?
Closed this issue · 3 comments
CitizenBeta commented
I get completely random looking sorting when I sort $x by int or float. My column is in whole dollars.
joequery commented
Can you post your table?
CitizenBeta commented
I solved it by adding data-sort-value="x" and sorted by int instead of worrying about how to factor in the $ and formatting.
joequery commented
That is exactly what I would have recommended. 👍