As suggested in this thread on the forums, we need to
investigate adding a table sorter to the SSDataGrid:
https://sourceforge.net/forum/message.php?msg_id=3038707
Amit provided the following info on how to implement this:
Also, I am using a TableSorter given by the sun
JTable table = (JTable) viewport.getView();
//Encapsulate the table model by TableSorter to add
sorting functionality
TableSorter sorter = new TableSorter(table.getModel());
table.setModel(sorter);
sorter.setTableHeader(table.getTableHeader());
Is the additional comma due to the TableSorter,
the code for the table sorter can be found at
http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/TableSorter.java
Migrated to: https://github.com/bpangburn/swingset/issues/7