code: def test_tbcp002_sorted_copy_paste_callback(test):
      test.start_server(get_app())
  
      target = test.table("table")
      target.column(rawDf.columns[2]).sort()
  
      assert target.cell(0, 0).get_text() == "11"
  
      target.cell(0, 0).click()
  
      test.copy()
      target.cell(1, 0).click()
      test.paste()
  
      assert target.cell(1, 0).get_text() == "11"
      assert target.cell(1, 1).get_text() == "MODIFIED"
  
      target.cell(1, 1).click()
  
      test.copy()
      target.cell(2, 1).click()
      test.paste()
  
      assert target.cell(1, 0).get_text() == "11"
      assert target.cell(2, 1).get_text() == "MODIFIED"
      assert test.get_log_errors() == []
  
imports: import dash
  import pytest
  from dash.dependencies import Input, Output, State
  from dash.exceptions import PreventUpdate
  from dash import html
  from dash.dash_table import DataTable
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.action_chains import ActionChains
  import pandas
label_desc: Use image node_id 3 for calling a global function with example usage: test_tbcp002_sorted_copy_paste_callback(test) without return types