Fix file sort issue using an algorithm to compare two stringized index numbers.