Added sorting for popular events.