Implemented sorting in generate-index script
New index files