sort encodings in edit view