docstr: verifies that the order of the sort column from a wide time series container is preserved
docstr_tok: ["verifies","that","the","order","of","the","sort","column","from","a","wide","time","series","container","is","preserved"]
code: def test_wide_dataframe_order_preserved_with_sort_column(self):
      """verifies that the order of the sort column from a wide time series container is preserved"""
  
      test_df = pd.DataFrame(
          {
              "id": ["a", "a", "b"],
              "v1": [3, 2, 1],
              "v2": [13, 12, 11],
              "sort": [103, 102, 101],
          }
      )
  
      result = to_tsdata(test_df, column_id="id", column_sort="sort")
      expected = [
          ("a", "v1", pd.Series([2, 3], index=[1, 0], name="v1")),
          ("a", "v2", pd.Series([12, 13], index=[1, 0], name="v2")),
          ("b", "v1", pd.Series([1], index=[2], name="v1")),
          ("b", "v2", pd.Series([11], index=[2], name="v2")),
      ]
      self.assert_data_chunk_object_equal(result, expected)
  
imports: import math
  from unittest import TestCase
  from unittest.mock import Mock
  import numpy
  import pandas
  from dask import dataframe
  from tests.fixtures import DataTestCase
  from tsfresh.feature_extraction.data import LongTsFrameAdapter, PartitionedTsData, TsDictAdapter, WideTsFrameAdapter, to_tsdata
  from tsfresh.utilities.distribution import MultiprocessingDistributor
label_desc: Use image node_id 12 for calling the DataAdapterTestCase obj's underlying member method code with example usage: obj.test_wide_dataframe_order_preserved_with_sort_column() without return types