Anchored headings on even pages appear out of order in generated tables of contents
Using InDesign v17.1 on MacOS 12.2.1. On a 50 page document with facing pages, using custom positioned anchored level 2 headings that appear to the left of paragraphs and are aligned at the left side of the text frame. When generating a table of contents, the anchored headings on even pages appear before their corresponding level 1 headings. I've moved the anchored objects slightly inside the frame and changed the left margin but problem persists. When pushing this same text to an odd page and regenerate the TOC, the problem is fixed.