Jump to content

Windows Explorer sort bug


Recommended Posts

Guest Ayush
Posted

[Jeff Rollason] wrote-:

> Surprising as it may seem, the version of Windows Explorer I have seems to

> have a fundamental bug. It does not fully sort names correctly. I am using

> Windows Xp Home Vers 5.1 build 2600.xpsp_sp2_rtm.040803-2158

> I have a directory with 5248 files and 179 directories. Among these, if sort

> by name, I get the ordering

> ..

> SHOG_B8N.ZIP

> SHOG_B9L.ZIP

> SHOG_B60.ZIP

> ..

>

> Testing this with 2 other 3rd party directory utilities (including one

> commercial product I authored) shows no problem.

 

That is not a bug, it is XP's intuitive filename sorting*. The order is 8,9,60.

You can turn it off if you want -

TweakUI > Explorer > Uncheck "Use intuitive filename sorting"

OR

Start > Run > Regedit >

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Create new BINARY value: NoStrCmpLogical and set data to : "01 00 00 00"

 

 

 

* From TweakUI:

If you check this box, Explorer will sort so that, e.g. "File 5" comes before

"File 10" because 5 comes before 10. If you uncheck this box, then explorer

will use literal sorting, in which case "File 10" will come before "File 5" because

1 comes before 5.

 

Good Luck, Ayush.

--

XP-Tips [Create a keyboard shortcut to open a folder] :

http://www.microsoft.com/windowsxp/using/setup/tips/foldershortcut.mspx

  • Replies 5
  • Created
  • Last Reply

Popular Days

Guest Jeff Rollason
Posted

Windows Explorer sort bug

 

 

Surprising as it may seem, the version of Windows Explorer I have seems to

have a fundamental bug. It does not fully sort names correctly. I am using

Windows Xp Home Vers 5.1 build 2600.xpsp_sp2_rtm.040803-2158

I have a directory with 5248 files and 179 directories. Among these, if sort

by name, I get the ordering

...

SHOG_B8N.ZIP

SHOG_B9L.ZIP

SHOG_B60.ZIP

...

 

Testing this with 2 other 3rd party directory utilities (including one

commercial product I authored) shows no problem.

 

I also have a problem that the sort order anyway seem to by EBCDIC rather

than ASCII, so that ABC comes before 0123 etc.. I guess the latter is some

configuration problem (All my regional setting are correct)

Guest Not Me
Posted

Re: Windows Explorer sort bug

 

Well, B60 comes after B8 or B9. If it was 6o, I might wonder.

The Oh in SHOG shows/looks different than the zer0 in 60.

 

"Jeff Rollason" <Jeff Rollason@discussions.microsoft.com> wrote in message

news:14FEA466-A770-48C3-925E-75FF2A2224C0@microsoft.com...

>

> Surprising as it may seem, the version of Windows Explorer I have seems to

> have a fundamental bug. It does not fully sort names correctly. I am using

> Windows Xp Home Vers 5.1 build 2600.xpsp_sp2_rtm.040803-2158

> I have a directory with 5248 files and 179 directories. Among these, if

> sort

> by name, I get the ordering

> ..

> SHOG_B8N.ZIP

> SHOG_B9L.ZIP

> SHOG_B60.ZIP

> ..

>

> Testing this with 2 other 3rd party directory utilities (including one

> commercial product I authored) shows no problem.

>

> I also have a problem that the sort order anyway seem to by EBCDIC rather

> than ASCII, so that ABC comes before 0123 etc.. I guess the latter is some

> configuration problem (All my regional setting are correct)

>

Guest Jeff Rollason
Posted

Re: Windows Explorer sort bug

 

Great response! I had not imagined this! Implemented and fixed. I had also

reported the apparent EBCDIC >ASCII before, but no solution, but that was

the same problem. This general probelm has been driving me nits. I also did

not know about TweakUI, so now have that.

"Intuitive sorting" Mmm.. I'm an engineer: Give me whatever the literal

"correct" method is every time!

--

Jeff Rollason - CEO

AI Factory Ltd

 

 

"Ayush" <"ayushmaan.j[aatt]gmail.com" wrote:

> [Jeff Rollason] wrote-:

> > Surprising as it may seem, the version of Windows Explorer I have seems to

> > have a fundamental bug. It does not fully sort names correctly. I am using

> > Windows Xp Home Vers 5.1 build 2600.xpsp_sp2_rtm.040803-2158

> > I have a directory with 5248 files and 179 directories. Among these, if sort

> > by name, I get the ordering

> > ..

> > SHOG_B8N.ZIP

> > SHOG_B9L.ZIP

> > SHOG_B60.ZIP

> > ..

> >

> > Testing this with 2 other 3rd party directory utilities (including one

> > commercial product I authored) shows no problem.

>

> That is not a bug, it is XP's intuitive filename sorting*. The order is 8,9,60.

> You can turn it off if you want -

> TweakUI > Explorer > Uncheck "Use intuitive filename sorting"

> OR

> Start > Run > Regedit >

> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

> Create new BINARY value: NoStrCmpLogical and set data to : "01 00 00 00"

>

>

>

> * From TweakUI:

> If you check this box, Explorer will sort so that, e.g. "File 5" comes before

> "File 10" because 5 comes before 10. If you uncheck this box, then explorer

> will use literal sorting, in which case "File 10" will come before "File 5" because

> 1 comes before 5.

>

> Good Luck, Ayush.

> --

> XP-Tips [Create a keyboard shortcut to open a folder] :

> http://www.microsoft.com/windowsxp/using/setup/tips/foldershortcut.mspx

>

Guest Ayush
Posted

Re: Windows Explorer sort bug

 

[Jeff Rollason] wrote-:

> Great response! I had not imagined this! Implemented and fixed. I had also

> reported the apparent EBCDIC >ASCII before, but no solution, but that was

> the same problem. This general probelm has been driving me nits. I also did

> not know about TweakUI, so now have that.

> "Intuitive sorting" Mmm.. I'm an engineer: Give me whatever the literal

> "correct" method is every time!

 

You are welcome Jeff !

 

 

Good Luck, Ayush.

--

XP-Tips [set up XP so that only authorized people can use it] :

http://www.microsoft.com/windowsxp/using/setup/tips/soleuser.mspx

Guest Kelly
Posted

Re: Windows Explorer sort bug

 

Correcting Windows XP Sort Order

http://www.kellys-korner-xp.com/xp_s.htm#so

 

You can modify this behavior by modifying the following regsitry value:

 

Key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Currentversion\Policies\Explorer.

 

Value Name: NoStrCmpLogical

Value Type: REG_DWORD

Value Data:

NoStrCmpLogical = 0 (default behavior in Windows XP)

NoStrCmpLogical = 1 (win2k behavior)

 

The machine needs to be rebooted for these changes to be effective. This

registry setting is available in Windows XP Service Pack 1.

 

 

--

 

All the Best,

Kelly (MS-MVP/DTS&XP)

 

Taskbar Repair Tool Plus!

http://www.kellys-korner-xp.com/taskbarplus!.htm

 

 

"Jeff Rollason" <Jeff Rollason@discussions.microsoft.com> wrote in message

news:14FEA466-A770-48C3-925E-75FF2A2224C0@microsoft.com...

>

> Surprising as it may seem, the version of Windows Explorer I have seems to

> have a fundamental bug. It does not fully sort names correctly. I am using

> Windows Xp Home Vers 5.1 build 2600.xpsp_sp2_rtm.040803-2158

> I have a directory with 5248 files and 179 directories. Among these, if

> sort

> by name, I get the ordering

> ..

> SHOG_B8N.ZIP

> SHOG_B9L.ZIP

> SHOG_B60.ZIP

> ..

>

> Testing this with 2 other 3rd party directory utilities (including one

> commercial product I authored) shows no problem.

>

> I also have a problem that the sort order anyway seem to by EBCDIC rather

> than ASCII, so that ABC comes before 0123 etc.. I guess the latter is some

> configuration problem (All my regional setting are correct)

>


×
×
  • Create New...