Your example does not make any sense. It is sorted alphabetically. My program does not know how to sort it if the name is the same. Are you sure that the example is correct?
mr Zoom could you add a function to use at results link to sort them by filename BUT at this way :
Original link ( before sort ) http://examplelink.com/name_S01E01.html http://examplelink.com/name_S01E01.html http://examplelink.com/name_S01E01.html http://examplelink.com/name_S01E02.html http://examplelink.com/name_S01E02.html http://examplelink.com/name_S01E02.html http://examplelink.com/name_S01E03.html http://examplelink.com/name_S01E03.html http://examplelink.com/name_S01E03.html