Implemented event sorting by name and creation date.