I have a JTable
with follow values:
Name age money A 13 SGD23 B 41 SGD133
If I click the Header(Name), it will sort as A,B, click again, will be B,A
But for the money, if I click it, I want to sort the values like SGD 23,SGD 133 . However, the Swing TableRowSort sorts the values like SGD 133,SGD23 . It is because the column value class is String. So can anybody help me to do this? Please note the money has CurrencyCode SGD.