Closed bdc34 closed 5 years ago
I see the output on issue #83 looks good.
Looks good from screenshot in #83. I'll give it a quick try in my environment.
Looks good from screenshot in #83. I'll give it a quick try in my environment.
That would be good. I cannot actually upload files and I faked this file list.
The screenshot below shows all the files starting with capital letters listed first. #83 was originally advocating for sorting with case folding, like this:
alpha.pdf
Alpha.pdf
beta.png
Gamma.txt
delta
epsilon.gif
some_folder/
aardvark.png
cute_kitten.png
Cuter_Kitten.png
sad_rhino.jpg
zeta
Zeta_cool
I still think sorting with case folding would be better/more natural than python's default sorting for a file tree. I also think folders ought to be sorted the same way, among the files (not all at the bottom), though this is at odds with @jimentwood 's suggestion in the issue.
Per discussion with @jimentwood I think it's OK to group the folders at the bottom (or top).
The screenshot below shows all the files starting with capital letters listed first. #83 was originally advocating for sorting with case folding, like this:
Casefold has been added.
Fixes ordering of files and puts root files at top of list.
Moved group_files to upload controller.
Fixes #83