code: def test_issue_8959_a(self):
      from ctypes.util import find_library
  
      libc_path = find_library("c")
      if not libc_path:
          self.skipTest("could not find libc")
      libc = CDLL(libc_path)
  
      @CFUNCTYPE(c_int, POINTER(c_int), POINTER(c_int))
      def cmp_func(a, b):
          return a[0] - b[0]
  
      array = (c_int * 5)(5, 1, 99, 7, 33)
  
      libc.qsort(array, len(array), sizeof(c_int), cmp_func)
      self.assertEqual(array[:], [1, 5, 7, 33, 99])
  
imports: import functools
  import unittest
  from ctypes import *
  from ctypes.test import need_symbol
  import _ctypes_test
label_desc: Use image node_id 2 for calling the SampleCallbacksTestCase obj's underlying member method code with example usage: obj.test_issue_8959_a() and returns: unknown