Allow ordering of groups by string of group name or by row count