/Engine/Source/Runtime/Engine/Classes/GameFramework/WorldSettings.h
Note, this will not rearrange any valid Bookmarks inside the mapped range, but may move bookmarks outside that range to fill up mapped bookmarks.
void CompactBookmarks()