Shuffle ordering for two productions to make Classes and Records consistent