How about using os.listdir to build a list of filenames, then sorting them by modification time (via os.stat)?