Fix sorting of events and suggestions