code: def test_search_model_versions_order_by_errors(store):
      # create some model versions
      name = "RM1"
      _rm_maker(store, name)
      for _ in range(6):
          _mv_maker(store, name=name)
      query = "name LIKE 'RM%'"
      # test that invalid columns throw even if they come after valid columns
      with pytest.raises(
          MlflowException, match=r"Invalid attribute key '.+' specified"
      ) as exception_context:
          store.search_model_versions(
              query,
              page_token=None,
              order_by=["name ASC", "run_id 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:
          store.search_model_versions(
              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 unittest import mock
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModelTag
  from mlflow.environment_variables import MLFLOW_TRACKING_URI
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE, RESOURCE_ALREADY_EXISTS, RESOURCE_DOES_NOT_EXIST, ErrorCode
  from mlflow.store.model_registry.dbmodels.models import SqlModelVersion, SqlModelVersionTag, SqlRegisteredModel, SqlRegisteredModelTag
  from mlflow.store.model_registry.sqlalchemy_store import SqlAlchemyStore
  from tests.helper_functions import random_str
label_desc: Use image node_id 22 for calling a global function with example usage: test_search_model_versions_order_by_errors(store) without return types