Fixed the formatting of code to have index and sort