When the document is long and complex, the writer does not know the exact hierarchy based on the leading lines in front of the bullets.
A floating table of contents helps authors keep a proper grasp of the lines and structure. The ability to float headings at the top solved this problem to some extent, but now the desktop app doesn’t have such a feature.