RowSorter sorter = jTable_BARATI.getRowSorter(); sorter.setSortKeys(Arrays.asList(new SortKey(0, SortOrder.ASCENDING)));