after creating headings and subheadings in a document in place in the cursor at the beginning of a blank page, what is the order of steps to inserting a table of contents?

after creating headings and subheadings in a document in place in the cursor at the beginning of a blank page what is the order of steps to inserting a table of class=