A family of Microsoft word processing software products for creating web, email, and print documents.
Captions added to wrapped objects will be inside text boxes. The SEQ fields that provide the caption numbering will be incremented based on the relative location of text box anchors. You can drag & drop the text box anchors into the correct places and then update the SEQ fields. See also Charles's linked articles.
Long-term, inserting your objects as in line with text objects, making them behave as (large) text characters, and putting the caption in the following text para, will simplify the caption numbering. With everything in the text layer, numbering is definitely going to be more easy to manage.