Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - windows explorer does not sort by name correctly

Reply
 
Old 02-16-2008   #1 (permalink)
johnjneumann


 
 

windows explorer does not sort by name correctly

VISTA Windows Explorer does not sort by name correctly (although DOS "dir
/on" works)
Please try it: create these 3 files any way you wish (i.e. copy & rename an
existing file or right-click in right pane >new>text document) -- the
extension and beginning letter are irrevlivant.
a0b.txt
a3f.txt
a05.txt
Sort the Windows Explorer column by "name" and you'll see that it sorts as
shown above - it will not display in the proper order of a05 a0b a3f

To no resolution, I've already added the registry setting suggested
elsewhere here: HKCU & HKLM
\sortware\microsoft\windows\currentversion\policies\explorer\NoStrCmpLogical
set as binary "01 00 00 00"
I've also played with the view settings until I'm blue in the face.
HAS ANYONE AN IDEA WHY THIS HAPPENS and ESPECIALLY how to fix it?!


My System SpecsSystem Spec
Old 02-16-2008   #2 (permalink)
Mark L. Ferguson


 
 

Re: windows explorer does not sort by name correctly

Dos fails to sort letters dependant on upper or lower case, too. It
evaluates the character based on its byte value in the character map (after
a 'toUpper() call). Windows evaluates a number ignoring the leading zero.
Same quirk, different cause. Vista dwells on the 'Y2K' bug.

--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales....htm#RateAPost

Mark L. Ferguson

..
"johnjneumann" <johnjneumann@xxxxxx> wrote in message
news:CD180F33-CBAE-4E88-A469-566584C02283@xxxxxx
Quote:

> VISTA Windows Explorer does not sort by name correctly (although DOS "dir
> /on" works)
> Please try it: create these 3 files any way you wish (i.e. copy & rename
> an
> existing file or right-click in right pane >new>text document) -- the
> extension and beginning letter are irrevlivant.
> a0b.txt
> a3f.txt
> a05.txt
> Sort the Windows Explorer column by "name" and you'll see that it sorts as
> shown above - it will not display in the proper order of a05 a0b a3f
>
> To no resolution, I've already added the registry setting suggested
> elsewhere here: HKCU & HKLM
> \sortware\microsoft\windows\currentversion\policies\explorer\NoStrCmpLogical
> set as binary "01 00 00 00"
> I've also played with the view settings until I'm blue in the face.
> HAS ANYONE AN IDEA WHY THIS HAPPENS and ESPECIALLY how to fix it?!
>
My System SpecsSystem Spec
Old 02-16-2008   #3 (permalink)
Tom Allen


 
 

Re: windows explorer does not sort by name correctly


"johnjneumann" <johnjneumann@xxxxxx> wrote in message
news:CD180F33-CBAE-4E88-A469-566584C02283@xxxxxx
Quote:

> VISTA Windows Explorer does not sort by name correctly (although DOS
> "dir
> /on" works)
> Please try it: create these 3 files any way you wish (i.e. copy &
> rename an
> existing file or right-click in right pane >new>text document) -- the
> extension and beginning letter are irrevlivant.
> a0b.txt
> a3f.txt
> a05.txt
> Sort the Windows Explorer column by "name" and you'll see that it
> sorts as
> shown above - it will not display in the proper order of a05 a0b
> a3f
>
> To no resolution, I've already added the registry setting suggested
> elsewhere here: HKCU & HKLM
> \sortware\microsoft\windows\currentversion\policies\explorer\NoStrCmpLogical
> set as binary "01 00 00 00"
> I've also played with the view settings until I'm blue in the face.
> HAS ANYONE AN IDEA WHY THIS HAPPENS and ESPECIALLY how to fix it?!

I guess someone thought it would be 'helpful' to sort numbers
numerically rather than ASCII collated.
I seem to recollect I found that 000 comes before 00 which comes before
0 but 1 comes before 11 etc.
However I still arrange date/time stamp file names as eight digits
YYYYMMDD out of habit.

Tom


My System SpecsSystem Spec
Old 02-17-2008   #4 (permalink)
PaulB


 
 

RE: windows explorer does not sort by name correctly

I think you may have the wrong value in that key. It should just be set to 1.
See the article below. I have set this in two computers running Vista and it
works as expected.

http://support.microsoft.com/kb/319827
--
Paul


"johnjneumann" wrote:
Quote:

> VISTA Windows Explorer does not sort by name correctly (although DOS "dir
> /on" works)
> Please try it: create these 3 files any way you wish (i.e. copy & rename an
> existing file or right-click in right pane >new>text document) -- the
> extension and beginning letter are irrevlivant.
> a0b.txt
> a3f.txt
> a05.txt
> Sort the Windows Explorer column by "name" and you'll see that it sorts as
> shown above - it will not display in the proper order of a05 a0b a3f
>
> To no resolution, I've already added the registry setting suggested
> elsewhere here: HKCU & HKLM
> \sortware\microsoft\windows\currentversion\policies\explorer\NoStrCmpLogical
> set as binary "01 00 00 00"
> I've also played with the view settings until I'm blue in the face.
> HAS ANYONE AN IDEA WHY THIS HAPPENS and ESPECIALLY how to fix it?!
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
File Explorer Sort By Date Vista General
Windows Explorer doesn't show drive correctly Vista General
Explorer Problem: Group & Sort By Elements gone! Vista General
Sort by name doesnt sort correctly in my opinion Vista file management
PCs shown correctly in Network Map but not in Windows Explorer? Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46