Finished revising how sorts are parsed for the submitted pull request to the patsopt compiler.