update w3ctestlib, fix chapter sorting in generated index pages