TOC picks up text starting in the upper left corner, then moves down before moving right.
Yes, that seems to be the problem. But nonetheless, I still want it to pick up text from left to right first. Is there any way to achieve this (or any other sorting sequence for that part)?
No panic though. I solved the problem in a not very elegant way, by simply pasting the scrambled ToC into Excel and sorting it ascending.
No way to change the behavior of the TOC module, but you can sort the TOC alphabetically, if that would help. I do this for "index to advertiser" listings, and if I need to sort them into categories I add a prefix that will sort alphabetically, then use Find/Change to remove the prefixes.
Or you could manually build the TOC using cross-references