sort translations before save