restored grammar sorting to the packer