The same sorting with shape as the rule, which is harder because colour keeps offering itself as a distraction.
Open Sorting by Shape on ExamMaster