all sort by group test working