I would like to list a directory with Python. My directory only has files with name :
A1, A2, A3,..., A10, A11,..., B1,B2, ..., B10, B11 ...
Problem is that when I try with alphabetically order it with Python :
listQuery = os.listdir('C:\\query\\')
listQuery.sort()
I got the following order :
A1, A10, A11, ... ,A2 ...
So my question is how can I first alphabetically order those and then order it with numbers