Added sorting of events list