code: def test_search_registered_model_order_by_errors(store):
      store.create_registered_model("dummy")
      query = "name LIKE 'RM%'"
      # test that invalid columns throw even if they come after valid columns
      with pytest.raises(
          MlflowException,
          match="Invalid attribute key 'description' specified.",
      ) as exception_context:
          _search_registered_models(
              store,
              query,
              page_token=None,
              order_by=["name ASC", "description DESC"],
              max_results=5,
          )
      assert exception_context.value.error_code == ErrorCode.Name(
          INVALID_PARAMETER_VALUE
      )
      # test that invalid columns with random text throw even if they come after valid columns
      with pytest.raises(
          MlflowException, match=r"Invalid order_by clause '.+'"
      ) as exception_context:
          _search_registered_models(
              store,
              query,
              page_token=None,
              order_by=["name ASC", "last_updated_timestamp DESC blah"],
              max_results=5,
          )
      assert exception_context.value.error_code == ErrorCode.Name(
          INVALID_PARAMETER_VALUE
      )
  
imports: import time
  import uuid
  from typing import List, NamedTuple
  from unittest import mock
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE, RESOURCE_DOES_NOT_EXIST, ErrorCode
  from mlflow.store.model_registry.file_store import FileStore
  from mlflow.utils.file_utils import path_to_local_file_uri, write_yaml
  from mlflow.utils.time import get_current_time_millis
  from tests.helper_functions import random_int, random_str
label_desc: Use image node_id 36 for calling a global function with example usage: test_search_registered_model_order_by_errors(store) without return types