Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Sorting of file names in Explorer

Reply
Thread Tools Display Modes

Sorting of file names in Explorer

 
 
Robert M. Lincoln
Guest
Posts: n/a

 
      07-12-2010
The files I have displayed in the Explorer window (view option set -
details) are not sorted according to how I would expect them to be sorted.
The list below shows the sorting of the Name field. The ASCII code for a
hyphen is before letters. Why are the filenames not sorted in ascending
alphabetical order? Does the hyphen mess things up?

For example, the last entry, "ft-tj-Solomon.html" should occur much higher
in the list, after "ft-tj-Peter2.html". Why doesn't it?

ft-tj-Caleb.html
ft-tj-Deborah.html
ft-tj-Isaac.html
ft-tj-Jacob1.html
ft-tj-Jacob2.html
ft-tj-Joshua.html
ft-tj-Margaret.html
ft-tj-Peter1.html
ft-tj-Peter2.html
ft-tjsij-John.html
ft-tjsijj-Warren.html
ft-tjsijjwra-Irene.html
ft-tjsijjwr-Allan.html
ft-tjsijjwra-Lola.html
ft-tjsijjwra-Louise.html
ft-tjsijjwra-Robert.html
ft-tjsijjwre-Frankie.html
ft-tjsijjwr-Elery.html
ft-tjsijjw-Robert.html
ft-tjsi-John.html
ft-tjs-Isaac.html
ft-tj-Solomon.html


Thanks,

Bob

 
Reply With Quote
 
 
 
 
Guest
Posts: n/a

 
      07-13-2010
http://support.microsoft.com/kb/319827

--
..
--
"Robert M. Lincoln" <> wrote in message
news:uMWYC$...
> The files I have displayed in the Explorer window (view option set -
> details) are not sorted according to how I would expect them to be sorted.
> The list below shows the sorting of the Name field. The ASCII code for a
> hyphen is before letters. Why are the filenames not sorted in ascending
> alphabetical order? Does the hyphen mess things up?
>
> For example, the last entry, "ft-tj-Solomon.html" should occur much higher
> in the list, after "ft-tj-Peter2.html". Why doesn't it?
>
> ft-tj-Caleb.html
> ft-tj-Deborah.html
> ft-tj-Isaac.html
> ft-tj-Jacob1.html
> ft-tj-Jacob2.html
> ft-tj-Joshua.html
> ft-tj-Margaret.html
> ft-tj-Peter1.html
> ft-tj-Peter2.html
> ft-tjsij-John.html
> ft-tjsijj-Warren.html
> ft-tjsijjwra-Irene.html
> ft-tjsijjwr-Allan.html
> ft-tjsijjwra-Lola.html
> ft-tjsijjwra-Louise.html
> ft-tjsijjwra-Robert.html
> ft-tjsijjwre-Frankie.html
> ft-tjsijjwr-Elery.html
> ft-tjsijjw-Robert.html
> ft-tjsi-John.html
> ft-tjs-Isaac.html
> ft-tj-Solomon.html
>
>
> Thanks,
>
> Bob
>


 
Reply With Quote
 
Peter W.
Guest
Posts: n/a

 
      07-13-2010

"Robert M. Lincoln" <> schreef in bericht
news:uMWYC$...
> The files I have displayed in the Explorer window (view option set -
> details) are not sorted according to how I would expect them to be sorted.
> The list below shows the sorting of the Name field. The ASCII code for a
> hyphen is before letters. Why are the filenames not sorted in ascending
> alphabetical order? Does the hyphen mess things up?
>
> For example, the last entry, "ft-tj-Solomon.html" should occur much higher
> in the list, after "ft-tj-Peter2.html". Why doesn't it?
>
> ft-tj-Caleb.html
> ft-tj-Deborah.html
> ft-tj-Isaac.html
> ft-tj-Jacob1.html
> ft-tj-Jacob2.html
> ft-tj-Joshua.html
> ft-tj-Margaret.html
> ft-tj-Peter1.html
> ft-tj-Peter2.html
> ft-tjsij-John.html
> ft-tjsijj-Warren.html
> ft-tjsijjwra-Irene.html
> ft-tjsijjwr-Allan.html
> ft-tjsijjwra-Lola.html
> ft-tjsijjwra-Louise.html
> ft-tjsijjwra-Robert.html
> ft-tjsijjwre-Frankie.html
> ft-tjsijjwr-Elery.html
> ft-tjsijjw-Robert.html
> ft-tjsi-John.html
> ft-tjs-Isaac.html
> ft-tj-Solomon.html
>
>
> Thanks,
>
> Bob
>


no, fttjso simply follows fttjsi

 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a

 
      07-13-2010
On Mon, 12 Jul 2010 15:15:16 -0700, Robert M. Lincoln wrote:

> The files I have displayed in the Explorer window (view option set -
> details) are not sorted according to how I would expect them to be sorted.
> The list below shows the sorting of the Name field. The ASCII code for a
> hyphen is before letters. Why are the filenames not sorted in ascending
> alphabetical order? Does the hyphen mess things up?
>
> For example, the last entry, "ft-tj-Solomon.html" should occur much higher
> in the list, after "ft-tj-Peter2.html". Why doesn't it?
>
> ft-tj-Caleb.html
> ft-tj-Deborah.html
> ft-tj-Isaac.html
> ft-tj-Jacob1.html
> ft-tj-Jacob2.html
> ft-tj-Joshua.html
> ft-tj-Margaret.html
> ft-tj-Peter1.html
> ft-tj-Peter2.html
> ft-tjsij-John.html
> ft-tjsijj-Warren.html
> ft-tjsijjwra-Irene.html
> ft-tjsijjwr-Allan.html
> ft-tjsijjwra-Lola.html
> ft-tjsijjwra-Louise.html
> ft-tjsijjwra-Robert.html
> ft-tjsijjwre-Frankie.html
> ft-tjsijjwr-Elery.html
> ft-tjsijjw-Robert.html
> ft-tjsi-John.html
> ft-tjs-Isaac.html
> ft-tj-Solomon.html
>
>
> Thanks,
>
> Bob


I was trying to figure out what Peter W. was saying. It looks like he is
suggesting that the sorting ignores the hyphens.

Geez - do I have to create a directory of such names now to experiment?
Such a pain :-)

Well, I did - it take very long - and I verified that hyphens are ignored.

1. My folder ended up sorted just like your list.

2. When I inserted hyphens *anywhere* in a filename it didn't change its
location in the list. Commas, equal signs, and dots did alter the location.

OK, there might be a setting somewhere to change this, but I have no idea
where.

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a

 
      07-13-2010
On Tue, 13 Jul 2010 15:40:30 -0700, Gene E. Bloch wrote:

> it take very long


it *didn't* take very long :-)

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
Robert M. Lincoln
Guest
Posts: n/a

 
      07-14-2010

I think "sometimes" the hyphen is ignored. For example, in my list (part of
which is shown below), if you ignored hyphens, "ft-tjsijjwr-Allan.html"
should be the first in the list, as "A" should come before "a". So, it's
not at all predictable.

ft-tjsijjwra-Irene.html
ft-tjsijjwr-Allan.html
ft-tjsijjwra-Lola.html
ft-tjsijjwra-Louise.html
ft-tjsijjwra-Robert.html

I heard from someone that Microsoft, in the "compare strings" routine,
assigns "weights" to some symbols to yield results that are "culturally
expected". I think to avoid confusion, it is just better to avoid hypens in
file names.

Thanks,

Bob Lincoln



----- Original Message -----
From: "Gene E. Bloch" <not->
Newsgroups: microsoft.public.windows.vista.general
Sent: Tuesday, July 13, 2010 3:40 PM
Subject: Re: Sorting of file names in Explorer


> On Mon, 12 Jul 2010 15:15:16 -0700, Robert M. Lincoln wrote:
>
>> The files I have displayed in the Explorer window (view option set -
>> details) are not sorted according to how I would expect them to be
>> sorted.
>> The list below shows the sorting of the Name field. The ASCII code for a
>> hyphen is before letters. Why are the filenames not sorted in ascending
>> alphabetical order? Does the hyphen mess things up?
>>
>> For example, the last entry, "ft-tj-Solomon.html" should occur much
>> higher
>> in the list, after "ft-tj-Peter2.html". Why doesn't it?
>>
>> ft-tj-Caleb.html
>> ft-tj-Deborah.html
>> ft-tj-Isaac.html
>> ft-tj-Jacob1.html
>> ft-tj-Jacob2.html
>> ft-tj-Joshua.html
>> ft-tj-Margaret.html
>> ft-tj-Peter1.html
>> ft-tj-Peter2.html
>> ft-tjsij-John.html
>> ft-tjsijj-Warren.html
>> ft-tjsijjwra-Irene.html
>> ft-tjsijjwr-Allan.html
>> ft-tjsijjwra-Lola.html
>> ft-tjsijjwra-Louise.html
>> ft-tjsijjwra-Robert.html
>> ft-tjsijjwre-Frankie.html
>> ft-tjsijjwr-Elery.html
>> ft-tjsijjw-Robert.html
>> ft-tjsi-John.html
>> ft-tjs-Isaac.html
>> ft-tj-Solomon.html
>>
>>
>> Thanks,
>>
>> Bob

>
> I was trying to figure out what Peter W. was saying. It looks like he is
> suggesting that the sorting ignores the hyphens.
>
> Geez - do I have to create a directory of such names now to experiment?
> Such a pain :-)
>
> Well, I did - it take very long - and I verified that hyphens are ignored.
>
> 1. My folder ended up sorted just like your list.
>
> 2. When I inserted hyphens *anywhere* in a filename it didn't change its
> location in the list. Commas, equal signs, and dots did alter the
> location.
>
> OK, there might be a setting somewhere to change this, but I have no idea
> where.
>
> --
> Gene E. Bloch (Stumbling Bloch)


 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a

 
      07-14-2010
Windows ignores case in sorting filenames. Always has. Still does.

On Tue, 13 Jul 2010 21:39:35 -0700, Robert M. Lincoln wrote:

> I think "sometimes" the hyphen is ignored. For example, in my list (part of
> which is shown below), if you ignored hyphens, "ft-tjsijjwr-Allan.html"
> should be the first in the list, as "A" should come before "a". So, it's
> not at all predictable.
>
> ft-tjsijjwra-Irene.html
> ft-tjsijjwr-Allan.html
> ft-tjsijjwra-Lola.html
> ft-tjsijjwra-Louise.html
> ft-tjsijjwra-Robert.html
>
> I heard from someone that Microsoft, in the "compare strings" routine,
> assigns "weights" to some symbols to yield results that are "culturally
> expected". I think to avoid confusion, it is just better to avoid hypens in
> file names.
>
> Thanks,
>
> Bob Lincoln
>
>
>
> ----- Original Message -----
> From: "Gene E. Bloch" <not->
> Newsgroups: microsoft.public.windows.vista.general
> Sent: Tuesday, July 13, 2010 3:40 PM
> Subject: Re: Sorting of file names in Explorer
>
>
>> On Mon, 12 Jul 2010 15:15:16 -0700, Robert M. Lincoln wrote:
>>
>>> The files I have displayed in the Explorer window (view option set -
>>> details) are not sorted according to how I would expect them to be
>>> sorted.
>>> The list below shows the sorting of the Name field. The ASCII code for a
>>> hyphen is before letters. Why are the filenames not sorted in ascending
>>> alphabetical order? Does the hyphen mess things up?
>>>
>>> For example, the last entry, "ft-tj-Solomon.html" should occur much
>>> higher
>>> in the list, after "ft-tj-Peter2.html". Why doesn't it?
>>>
>>> ft-tj-Caleb.html
>>> ft-tj-Deborah.html
>>> ft-tj-Isaac.html
>>> ft-tj-Jacob1.html
>>> ft-tj-Jacob2.html
>>> ft-tj-Joshua.html
>>> ft-tj-Margaret.html
>>> ft-tj-Peter1.html
>>> ft-tj-Peter2.html
>>> ft-tjsij-John.html
>>> ft-tjsijj-Warren.html
>>> ft-tjsijjwra-Irene.html
>>> ft-tjsijjwr-Allan.html
>>> ft-tjsijjwra-Lola.html
>>> ft-tjsijjwra-Louise.html
>>> ft-tjsijjwra-Robert.html
>>> ft-tjsijjwre-Frankie.html
>>> ft-tjsijjwr-Elery.html
>>> ft-tjsijjw-Robert.html
>>> ft-tjsi-John.html
>>> ft-tjs-Isaac.html
>>> ft-tj-Solomon.html
>>>
>>>
>>> Thanks,
>>>
>>> Bob

>>
>> I was trying to figure out what Peter W. was saying. It looks like he is
>> suggesting that the sorting ignores the hyphens.
>>
>> Geez - do I have to create a directory of such names now to experiment?
>> Such a pain :-)
>>
>> Well, I did - it take very long - and I verified that hyphens are ignored.
>>
>> 1. My folder ended up sorted just like your list.
>>
>> 2. When I inserted hyphens *anywhere* in a filename it didn't change its
>> location in the list. Commas, equal signs, and dots did alter the
>> location.
>>
>> OK, there might be a setting somewhere to change this, but I have no idea
>> where.
>>
>> --
>> Gene E. Bloch (Stumbling Bloch)



--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying Shared folders and retaining share and file permissions Bry M Server Networking 7 03-24-2010 01:12 PM
Open excel file from Windows explorer David Bahde Windows 64 Bit 0 01-24-2010 12:11 AM
File not in Explorer but opens anyhow Toyman Windows Vista File Management 5 07-24-2007 11:06 PM
HELP sfc /scannow William Beard Windows Vista Performance 17 05-11-2007 03:28 AM
What is up with Vista's file system? Stan Shankman Windows Vista File Management 7 08-15-2006 07:59 AM



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 47 48 49 50 51 52 53 54 55 56 57 58 59