add Sort to index