search_dir = 'e:\\test'
files = list(filter(os.path.isfile, glob.glob(search_dir + '\\*.bas')))
file_date_tuple_list = []
for x in files:
    d = os.path.getmtime(x)
file_date_tuple = x, d
file_date_tuple_list.append(file_date_tuple)
file_date_tuple_list.sort(key=lambda x: x[1])
How to make a chronological list of files, with the file modification date