windows explorer does not sort by name correctly

J

johnjneumann

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?!
 
M

Mark L. Ferguson

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/help/help_en-us.htm#RateAPost

Mark L. Ferguson

..
 
T

Tom Allen

johnjneumann said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top