sort counted demonstrations first; added empty class