Add sorting to various choosers

Choosers: phonemes, natural classes, environments, inflectional affixes
 (when adding to a slot in a template)

LT-13362, LT-13381, LT-8452

Change-Id: I392231ad907074f412c745cc3183c89c0e138eb8