sort grouping "home class,year group"