How do you get a directory listing sorted by creation date in python?,files.sort(key=lambda x: os.path.getmtime(x))