public void sortByColumn(int columnIndex) { System.out.println("Start sorting table"); sortColumnIndex = columnIndex; GenericSorting.quickSort(0, this.getRowNumber(), compByColumn, swapper); System.out.println("Finished sorting table"); }