Fixed attributes by groups sorting