code: def assert_output(output, assert_equal):
      sorted_output = sorted(output)
      sorted_assert = sorted(assert_equal)
      if sorted_output != sorted_assert:
          raise ValueError(ASSERT_ERROR.format(sorted_output, sorted_assert))