Watch the ebook I attach. That book was scrambled with your original utility; I don't know why, the .xhtml index resulted with the numbers unchanged

The original book is in public domain (is "The mistery of the yellow room") so if you need it to find the cause of the unscrambled numbers in TOC, I can upload here.