i'm using glob.glob() to get a list of files from a directory.
the result is this list. there is a way i can sort it using the int part of the filename?
['export_p-01.xml',
'export_p-02.xml',
'export_p-03.xml',
'export_p-04.xml',
'export_p-05.xml',
'export_p-06.xml',
'export_p-07.xml',
'export_p-08.xml',
'export_p-09.xml',
'export_p-10.xml',
'export_p-100.xml',
'export_p-101.xml',
'export_p-102.xml',
'export_p-103.xml',
'export_p-104.xml',
'export_p-105.xml',
'export_p-106.xml',
'export_p-107.xml',
'export_p-108.xml',
'export_p-109.xml',
'export_p-11.xml',
]