-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Sort method for grouping by file extensions #450
Comments
I checked the code and it looks to me as I remembered it: if (Properties.Settings.Default.SortByTypeAndNameWindowsExplorerSort)
{
rowDatas = rowDatas.OrderByDescending(x => x.IsFolder)
.ThenBy(x => x.Text, new WindowsExplorerSort()).ToList();
}
else if (Properties.Settings.Default.SortByTypeAndDate)
{
rowDatas = rowDatas.OrderByDescending(x => x.IsFolder)
.ThenByDescending(x => x.FileInfo.LastWriteTime).ToList();
}
else if (Properties.Settings.Default.SortByName)
{
rowDatas = rowDatas.OrderBy(x => x.Text).ToList();
}
else if (Properties.Settings.Default.SortByDate)
{
rowDatas = rowDatas.OrderByDescending(x => x.FileInfo.LastWriteTime).ToList();
} Type is meant to be "folder or file", so the folders are first and then the files are listed. Then each of the two groups are sorted by their names like it is done by WindowsExplorer. As of today this is by design. However, it should be not a big deal to add a "grouping" for file extensions as well. I'll turn it into a feature request. |
Hi topeterk, thank you for explain "type" and changing from Bug to Request. |
@ppt-oldoerp we added you to the Thanks section in readme and about! We look forward to hearing more from you, please give us further feedback : ) i will close, if something missing, you can reopen or create new one any time |
@Hofknecht This issue was not about just a "wrong text" or any "bug". It is about sorting by the files' extension and this updated text does not solve the requested "feature". |
@topeterk @ppt-oldoerp |
sorry, may be, I have tomato on my eyes - how / whre can I download the 1.3.1.6? |
@ppt-oldoerp |
Happy with this tool with one exception: sort order.
In options I set sort order to "Type and Name". I expected type is the windows file extension. I expected all with same extension and inside of them by name. Ongoing for each extension.
I options I also added a folder with xxx.rdp files inside
Sort result seems to ignore type and all are sorted by name:
Windows 11 21H2 build 22000.978
Files without extension in list are links (Icon on desktop)
Wolfram
The text was updated successfully, but these errors were encountered: