Fixed language index error cause by sort encodings list.