Added sorting to the loaded events list