Windows 7 Explorer cannot sort files alphabetically

倾然丶 夕夏残阳落幕 提交于 2020-01-11 08:06:10

问题


I use sort by + name, and explorer cannot sort my files by name. How can they screw up something so easy?

Is there any magic registry way to do this, here is the explorer output and dir output. I want the dir version of course.


回答1:


Windows 7's sort is an absolute joke. The rubbish above about natural sorting is no excuse - I don't know anyone who would naturally sort "Back to the Future 3" before "Back to the Future" for example, and other languages existed pre Windows 7.

The fix can be found here:

http://www.alliancegroup.co.uk/windows7-explorer-sort-order.htm

And in case the link dies:

  • Type gpedit.msc in the Start menu’s search box and then press Enter.
  • Navigate to User Configuration>Administrative Templates>Windows Components, and then select Windows Explorer in the left column of the Group Policy editor.
  • Double-click Turn off numerical sorting in Windows Explorer in the Settings section of the Group Policy editor.
  • Select Enable and then click OK to save the changes.



回答2:


It's not screwed up at all, it's by design.

There are a lot of things to consider when sorting, for example non-English languages can do sorting completely differently. The DIR command however ignores all this and does a 'stupid' sort. Explorer is for end users and therefore tries to sort the way users expect.

Here's an article with some info: Why, when you sort by name, doesn't it actually sort by name? What order does the DIR command arrange files if no sort order is specified? String sorting is not done by ASCII code any more



来源:https://stackoverflow.com/questions/24842112/windows-7-explorer-cannot-sort-files-alphabetically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!