Minor code reorganizations. Eagerly create SortTranslator to avoid repeated instantiation. Original pull request: #232.