sort uses the same amount of memory as reserved for the grammar packer
Merge pull request #87 from lukeorland/bugfix.packer_sort

Sort packed grammar in memory, instead of on disk