You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
When setting "sortDirectoriesFirst": true in .brackets.json directories having names starting with numbers don't sort properly in sidebar. The first one lands at the end of directories, the rest after the files. It happens on Mac OS X 10.9.3 and Sprint 41. Also happens without extensions.
The text was updated successfully, but these errors were encountered:
This is not an issue with sortDirectoriesFirst but with how we compare the filenames. We use the numeric option equal to true when comparing strings. This was done so that we get Undefined-1, Undefined-2, Undefined-3, Undefined-10, instead of Undefined-1, Undefined-10, Undefined-2, Undefined-3. But this break the file sorting, since we preppend a 0 to folders and a 1 to files. I checked that switching those to a and b fix this issue.
When setting "sortDirectoriesFirst": true in .brackets.json directories having names starting with numbers don't sort properly in sidebar. The first one lands at the end of directories, the rest after the files. It happens on Mac OS X 10.9.3 and Sprint 41. Also happens without extensions.

The text was updated successfully, but these errors were encountered: