Added sorting on alerts

Time not yet dynamic