number_tuple = (2, 10, 11, 3)
print("{0:<50} {1:>0}".format("input filenames are", str(number_tuple)))

file_list = []
for n in number_tuple:
    f = "file_{:04}".format(n)
    file_list.append(f)
print("{0:<50} {1:>0}".format("zero padded filenames", str(file_list)))

sorted_file = sorted(file_list)
print("{0:<50} {1:>0}".format("sorted filenames are", str(sorted_file)))

e8450325bf3533efbad3a2414ad2faa33e8d4a3c
<mask token>

<mask token>
print('{0:<50} {1:>0}'.format('input filenames are', str(number_tuple)))
<mask token>
for n in number_tuple:
    f = 'file_{:04}'.format(n)
    file_list.append(f)
print('{0:<50} {1:>0}'.format('zero padded filenames', str(file_list)))
<mask token>
print('{0:<50} {1:>0}'.format('sorted filenames are', str(sorted_file)))

number_tuple = 2, 10, 11, 3
print('{0:<50} {1:>0}'.format('input filenames are', str(number_tuple)))
file_list = []
for n in number_tuple:
    f = 'file_{:04}'.format(n)
    file_list.append(f)
print('{0:<50} {1:>0}'.format('zero padded filenames', str(file_list)))
sorted_file = sorted(file_list)
print('{0:<50} {1:>0}'.format('sorted filenames are', str(sorted_file)))

number_tuple = (2, 10, 11, 3)
print("{0:<50} {1:>0}".format("input filenames are", str(number_tuple)))

file_list = []
for n in number_tuple:
    f = "file_{:04}".format(n)
    file_list.append(f)
print("{0:<50} {1:>0}".format("zero padded filenames", str(file_list)))

sorted_file = sorted(file_list)
print("{0:<50} {1:>0}".format("sorted filenames are", str(sorted_file)))
