updated sort and index files