}
}
if(presencesList.size() > 0) {
presenceTable.select(0);
MergeSortAlgorithm sortAlgorithm = new MergeSortAlgorithm();
sortAlgorithm.sortPresencesByDate(presencesList);
for (Presence presence : presencesList) {
TableItem item = new TableItem(presenceTable, SWT.NONE);
item.setText(0, new GDDate(presence.getDate()).getFormatedDate());
item.setText(1, presence.getDate().getHourOfDay() +":00");
item.setText(2, getCourses(presence.getRegistrationAppointment().getRegistration()));