code: def testSORTCorrectness():
      """Testing that Boost Jam's SORT builtin rule actually sorts correctly."""
      t = BoostBuild.Tester(
          ["-ftest.jam", "-d1"],
          pass_toolset=False,
          use_test_config=False,
      )
  
      t.write(
          "test.jam",
          """\
  NOCARE all ;
  source-data = 1 8 9 2 7 3 4 7 1 27 27 9 98 98 1 1 4 5 6 2 3 4 8 1 -2 -2 0 0 0 ;
  target-data = -2 -2 0 0 0 1 1 1 1 1 2 2 27 27 3 3 4 4 4 5 6 7 7 8 8 9 9 98 98 ;
  ECHO "starting up" ;
  sorted-data = [ SORT $(source-data) ] ;
  ECHO "done" ;
  if $(sorted-data) != $(target-data)
  {
      ECHO "Source       :" $(source-data) ;
      ECHO "Expected     :" $(target-data) ;
      ECHO "SORT returned:" $(sorted-data) ;
      EXIT "SORT error" : -2 ;
  }
  """,
      )
  
      t.run_build_system()
      t.expect_output_lines("starting up")
      t.expect_output_lines("done")
      t.expect_output_lines("SORT error", False)
  
      t.cleanup()
  
label_desc: Use image node_id 1 for calling a global function with example usage: testSORTCorrectness() without return types