defining a collator and built a special row sorter implementation (ColumnTableRowSorter) to make it easier.