File name should be the order numeber in Python code example
Example: sort files in windows order python
from tkinter import Tcl
Tcl().call('lsort', '-dict', file_list)
from tkinter import Tcl
Tcl().call('lsort', '-dict', file_list)