Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: What is the XP sort order?  (Read 3024 times)

0 Members and 1 Guest are viewing this topic.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
What is the XP sort order?
« 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?

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: What is the XP sort order?
« Reply #1 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.
I was trying to dereference Null Pointers before it was cool.

smeezekitty

  • Guest
Re: What is the XP sort order?
« Reply #2 on: September 09, 2009, 09:17:33 PM »
i think geek-9pm thinks XP sorts the ascii table

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: What is the XP sort order?
« Reply #3 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.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: What is the XP sort order?
« Reply #4 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?

String sorting is not done by ASCII code anymore.

Sort order for humans



I was trying to dereference Null Pointers before it was cool.

smeezekitty

  • Guest
Re: What is the XP sort order?
« Reply #5 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

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: What is the XP sort order?
« Reply #6 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.
I was trying to dereference Null Pointers before it was cool.

smeezekitty

  • Guest
Re: What is the XP sort order?
« Reply #7 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?

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: What is the XP sort order?
« Reply #8 on: September 10, 2009, 11:32:25 AM »
ANSI.
I was trying to dereference Null Pointers before it was cool.