﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28264	forms.FilePathField does not return sorted subdirectories in formfield	Jean-Marie Thomas	Srinivas Reddy Thatiparthy	"In the code :
{{{
for root, dirs, files in sorted(os.walk(self.path)):
    if self.allow_files:
# here, files are not sorted
        for f in files:
            if self.match is None or self.match_re.search(f):
                f = os.path.join(root, f)
                self.choices.append((f, f.replace(path, """", 1)))
    if self.allow_folders:
# and here, dirs are not sorted
        for f in dirs:
            if f == '__pycache__':
}}}"	Cleanup/optimization	closed	Forms	1.11	Normal	fixed	FilePathField		Accepted	1	0	0	1	0	0
