order of index numbers for string