Sort index names.