A family of Microsoft word processing software products for creating web, email, and print documents.
A sample problem document would help. You can use the paperclip symbol to attach one or save in a cloud location and post a link here (that way you can later delete the file). Here is my article on that.
The appearance in the TOC is governed primarily by the TOC 1, 2, 3, etc., styles but also by switches in the TOC field. See Word MVP Suzanne Barnhill's article on TOC Tips and Tricks.