Changing order for index