code: def test_sort_whatsnew_note() -> None:
      content = (
          ".. _whatsnew_200:\n"
          "\n"
          "What's new in 2.0.0 (March XX, 2023)\n"
          "------------------------------------\n"
          "\n"
          "Timedelta\n"
          "^^^^^^^^^\n"
          "- Bug in :meth:`Timedelta.round` (:issue:`51494`)\n"
          "- Bug in :class:`TimedeltaIndex` (:issue:`51575`)\n"
          "\n"
      )
      expected = (
          ".. _whatsnew_200:\n"
          "\n"
          "What's new in 2.0.0 (March XX, 2023)\n"
          "------------------------------------\n"
          "\n"
          "Timedelta\n"
          "^^^^^^^^^\n"
          "- Bug in :class:`TimedeltaIndex` (:issue:`51575`)\n"
          "- Bug in :meth:`Timedelta.round` (:issue:`51494`)\n"
          "\n"
      )
      result = sort_whatsnew_note(content)
      assert result == expected
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_sort_whatsnew_note() without return types