code: def test_sort_values_sparse_no_warning(self, dtype):
      # GH#45618
      ser = pd.Series(
          Categorical(["a", "b", "a"], categories=["a", "b", "c"])
      )
      df = pd.get_dummies(ser, dtype=dtype, sparse=True)
  
      with tm.assert_produces_warning(None):
          # No warnings about constructing Index from SparseArray
          df.sort_values(by=df.columns.tolist())
  
imports: import numpy
  import pytest
  import pandas
  from pandas import Categorical, DataFrame, NaT, Timestamp, date_range
  import pandas._testing
  from pandas.util.version import Version
label_desc: Use image node_id 1 for calling the TestDataFrameSortValues obj's underlying member method code with example usage: obj.test_sort_values_sparse_no_warning(dtype) without return types