code: def test_reorder_manual(self):
      filenames_on_server = ["a", "b", "c"]
      api_workflow_client = MockedApiWorkflowClient(
          token="token_xyz", dataset_id="dataset_id_xyz"
      )
      api_workflow_client._mappings_api.sample_names = (
          filenames_on_server
      )
      filenames_for_list = ["c", "a", "b"]
      list_to_order = ["cccc", "aaaa", "bbbb"]
      list_ordered = api_workflow_client._order_list_by_filenames(
          filenames_for_list, list_to_order=list_to_order
      )
      list_desired_order = ["aaaa", "bbbb", "cccc"]
      assert list_ordered == list_desired_order
  
file_path: lightly/tests/api_workflow/test_api_workflow.py
imports: import os
  from unittest import mock
  import numpy
  import lightly
  from tests.api_workflow import utils
  from tests.api_workflow.mocked_api_workflow_client import MockedApiWorkflowClient, MockedApiWorkflowSetup
label_desc: Use image node_id 10 for calling the TestApiWorkflow obj's underlying member method code with example usage: obj.test_reorder_manual() without return types