Sorting AlphaNum Values

Hi,

I tried to customize sorting in Treetable and I think I have done it. But, I found in DefaultItemSorter you are using compareTo() to compare two strings.

The problem is that ‘compareTo()’ will not handle alphanumeric values properly. If a table contains alphanumeric value, The sort won’t be perfect. Yeah, Sort in my table is also not perfect as I have AlphaNumeric value in my table.

I think using an AlphaNum comparator will solve the issue.

Correct me if I am wrong.

Thanks,
Gugan