I am using JTable with an empty row at the bottom of the table in order to give the ability of adding new line to the table.
After insert or writing data in the empt
Set a different comparator using DefaultRowSorter's setComparator method.