Add chapter numbers to each page and then use this for sorting on the index page.
Renamed advanced.