group class (by date created)