code: def test_sort_naturally(well_dataframe):
      """Example-based test for sort_naturally.
  
      We check that:
  
      - the resultant dataframe is sorted identically
      to what natsorted would provide,
      - the data in the dataframe are not corrupted.
      """
      sorted_df = well_dataframe.sort_naturally("Well")
      assert sorted_df["Well"].tolist() == natsorted(
          well_dataframe["Well"]
      )
      assert_frame_equal(sorted_df.sort_index(), well_dataframe)
  
imports: import pandas
  import pytest
  from natsort import natsorted
  from pandas.testing import assert_frame_equal
  import janitor
label_desc: Use image node_id 2 for calling a global function with example usage: test_sort_naturally(well_dataframe) without return types