|
How to sort column in JTable
I want to sort the columns based on the data, for example if the column holds chars the sort should be based on alphabetical order and if the column is of type int the sort is based on ascending or descending.
Can any one tell me how to do it or get me the source code for the functionality, any help is highly appreciated.
|