When performing the following code, is there an order in which Python loops through files in the provided directory? Is it alphabetical? How do I go about establishing an order these files are loops through, either by date created/modified or alphabetically).
import os
for file in os.listdir(path)
df = pd.read_csv(path+file)
// do stuff