It works again
Implemented event sort by date;