sort events by date (use secondary db)