You'll have to figure out which is the largest one, then set a tab-stop that's larger than that. Note, too, that long headings will upset the page # alignment unless you set the right indent & tab-stop correctly and you'll need a hanging indent to prevent the wrapped content bleeding into the numbering area. See
https://www.msofficeforums.com/word/...html#post52345 for a demo of the required setup.