fix #2954: sorting wrong after switching between event list and normal
list