1. sort groups while first sync
2. quit event
3. unread message count