Computer Hope

Microsoft => Microsoft Windows => Windows XP => Topic started by: Geek-9pm on September 09, 2009, 08:37:27 PM

Title: What is the XP sort order?
Post by: Geek-9pm on September 09, 2009, 08:37:27 PM
What is the XP sort order?
On the support site it just talks about the numbers.

I want to know what is the default for names that do not have numbers.

In the ASCII chart the @ is low on the list and the ~ should be at the end of the list. But it is not so. This drives me crazy! It seems the XP will sort any symbol before any letter. Is there a chart that shows how they do this?
Title: Re: What is the XP sort order?
Post by: BC_Programmer on September 09, 2009, 09:01:16 PM
sorting where? it's not the OS doing the sorting. It's either explorer or the command window, depending upon what you mean.
Title: Re: What is the XP sort order?
Post by: smeezekitty on September 09, 2009, 09:17:33 PM
i think geek-9pm thinks XP sorts the ascii table
Title: Re: What is the XP sort order?
Post by: Geek-9pm on September 10, 2009, 05:39:32 AM
I mean file names either on the desktop, in a folder or in a the command line box when you do a DIR/ON
It is not just the simple ASCII order. Is there a table somewhere that will show me how Windows Explorer with sort all the letters and symbols that can be used in file names?
Thanks for any help you can give. This has been bothering me for years.  I need to find the answer before I get much older. I can not sleep at night.
Title: Re: What is the XP sort order?
Post by: BC_Programmer on September 10, 2009, 10:34:52 AM
you mean, the ANSI chart? or... hmmm actually, I think I read a blog post about just this, sort order, might be a bit technical but might also help you out, I'll see if I can find it...


some of these might help:

Why, When you sort by name, doesn't it actually sort by name? (http://blogs.msdn.com/oldnewthing/archive/2008/08/04/8824356.aspx)

String sorting is not done by ASCII code anymore.  (http://blogs.msdn.com/oldnewthing/archive/2004/05/18/134051.aspx)

Sort order for humans (http://www.codinghorror.com/blog/archives/001018.html)



Title: Re: What is the XP sort order?
Post by: smeezekitty on September 10, 2009, 10:36:51 AM
it maybe sorted by adding the ascii value of all the chars
toghether and sorting by that number
Title: Re: What is the XP sort order?
Post by: BC_Programmer on September 10, 2009, 11:15:48 AM
it maybe sorted by adding the ascii value of all the chars
toghether and sorting by that number

Here's the thing- windows doesn't use ASCII, it uses ANSI, and now,. Unicode.
Title: Re: What is the XP sort order?
Post by: smeezekitty on September 10, 2009, 11:31:11 AM
Here's the thing- windows doesn't use ASCII, it uses ANSI, and now,. Unicode.
what does windows 3.1x use?
Title: Re: What is the XP sort order?
Post by: BC_Programmer on September 10, 2009, 11:32:25 AM
ANSI.