def add_bookmark(self, title: str, location: Path | URL) -> None:
        """Add a new bookmark.

        Args:
            title: The title of the bookmark.
            location: The location of the bookmark.
        """
        self._bookmarks.append(Bookmark(title, location))
        self._bookmarks = sorted(self._bookmarks, key=lambda bookmark: bookmark.title)
        self._bookmarks_updated()
Add a new bookmark.

        Args:
            title: The title of the bookmark.
            location: The location of the bookmark.
        
frogmouth/widgets/navigation_panes/bookmarks.py