field2 = field2 == null ? new CellData() : field2; if ("asc".equalsIgnoreCase(sortColumn.getDirection())) { orderRow = field1.compareTo(field2); } else if ("desc".equalsIgnoreCase(sortColumn.getDirection())) { orderRow = field2.compareTo(field1);
field2 = field2 == null ? new CellData() : field2; if ("asc".equalsIgnoreCase(sortColumn.getDirection())) { orderRow = field1.compareTo(field2); } else if ("desc".equalsIgnoreCase(sortColumn.getDirection())) { orderRow = field2.compareTo(field1);