UISheet sheet = (UISheet) sortEvent.getComponent();
SheetState sheetState
= sheet.getSheetState(FacesContext.getCurrentInstance());
String columnId = sheetState.getSortedColumnId();
List<SolarObject> list = (List<SolarObject>) sheet.getValue();
SolarObject sun = list.remove(0);
Comparator<SolarObject> comparator = null;
if ("name".equals(columnId)) {
comparator = new Comparator<SolarObject>() {