What is the best way to get a list of all files in a directory, sorted by date [created | modified], using python, on a windows machine?
Maybe you should use shell commands. In Unix/Linux, find piped with sort will probably be able to do what you want.