code: def test_forward_backward(
      seed, ishape, axis, reverse, with_index, only_index, ctx, fname
  ):
      rng = np.random.RandomState(seed)
      inputs = [rng.randn(*ishape).astype(np.float32)]
      function_tester(
          rng,
          F.sort,
          ref_sort_fw,
          inputs,
          ctx=ctx,
          func_name=fname,
          func_args=[axis, reverse, with_index, only_index],
          ref_grad=ref_sort_bw,
      )
  
file_path: nnabla/python/test/function/test_sort.py
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nbla_test_utils import list_context, function_tester
label_desc: Use image node_id 3 for calling a global function with example usage: test_forward_backward(seed, ishape, axis, reverse, with_index, only_index, ctx, fname) without return types