Sort Order 4 XP

L

Larry(LJL269)

1-I thought it would be ASCII sequence where
small z is HEX 7A (&#122) sorts before
left curly bracket which is HEX 7B (&#123)

but if I create 2 rtf files named z and {, they are
reversed.In fact, no special chars I tried sorted lower
than z.

Is my sort bad or does XP use different codes 4 chars?
Unicode maybe. Character map givesessentially ASCII
codes.

Search the Knowledge Base & Google 4 'Collating'or
'sorting' & u get either 3 or 30000 hits.

2- When typing into wordpad, I cant use ALT+Num(0123)
for { cause Num pad not available. Is there 3rd
alternative possibly involving hex 7B?

Your help is MUCH appreciated. Thanks- bye- Larry


Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
L

Larry(LJL269)

On Sat, 11 Oct 2003 16:39:36 GMT, "Larry(LJL269)"

|1-I thought it would be ASCII sequence where
|small z is HEX 7A (&#122) sorts before
|left curly bracket which is HEX 7B (&#123)
By experimentation found:
!
#
$
%
(
.. dot
- minus
@
[ left square
^ top hat
_ underline
{ left curly
~ approcimate
| verical bar
¿
+
=
»
¬ neg/barb
® cpywrite
¶ paragraph
0-9
a/A
 
A

Alex Nichol

Larry(LJL269) said:
1-I thought it would be ASCII sequence where
small z is HEX 7A (&#122) sorts before
left curly bracket which is HEX 7B (&#123)

but if I create 2 rtf files named z and {, they are
reversed.In fact, no special chars I tried sorted lower
than z.

Is my sort bad or does XP use different codes 4 chars?
Unicode maybe. Character map givesessentially ASCII
codes.

XP Explorer has a more sophisticated sort system than previously.
Notably it treats sequences of decimal digits as numeric entities (so 21
sorts before 030 for example), and although I have not investigated,
this may affect such special characters as well. You can revert to the
old 'pure ASCII' method if you have SP1 - use TweakUI for XP SP1 and on
the Explorer page there is a 'use intuitive file sorting' (checked means
as default, with numeric fields in numeric order). Kelly has a registry
patch for the same effect, but I don't know if it works on a pre-SP1
system
 
L

Larry(LJL269)

On Mon, 13 Oct 2003 15:23:11 +0100, Alex Nichol

|XP Explorer has a more sophisticated sort system than previously.
|Notably it treats sequences of decimal digits as numeric entities (so 21
|sorts before 030 for example),

Yep that's what mine does.

| and although I have not investigated,
|this may affect such special characters as well.

All special chars are sorting b4 numerics which r b4
alphas , as I said when I answered my own post :) I
really was hoping that some special chars would sort
last too because I always like some items to be 1st or
last without having to prefix all with a numeric. Like
if there is more info related to a subject somewhere
else, I like to create a shortcut there that will sort
last in folder.

| You can revert to the
|old 'pure ASCII' method if you have SP1 - use TweakUI for XP SP1 and on
|the Explorer page there is a 'use intuitive file sorting' (checked means
|as default, with numeric fields in numeric order). Kelly has a registry
|patch for the same effect, but I don't know if it works on a pre-SP1
|system
That I shall try and would allow me to do what I
outlined.

Thanks alot Alex. This has been on back burner for 2
years. Larry


Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
T

Torgeir Bakken (MVP)

Larry(LJL269) said:
All special chars are sorting b4 numerics which r b4
alphas , as I said when I answered my own post :) I
really was hoping that some special chars would sort
last too because I always like some items to be 1st or
last without having to prefix all with a numeric. Like
if there is more info related to a subject somewhere
else, I like to create a shortcut there that will sort
last in folder.

Hi

This might be relevant:

Incorrect Sort Order in Windows Explorer in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;EN-US;318872


To change the sort order back to Pre-XP:

Upgrade to SP1 if you haven't already, and then import the registry file found
here:

Change the Sort Order back to Pre-XP (Line 107)
http://www.kellys-korner-xp.com/xp_tweaks.htm

To use the Regedit: Save the REG File to your hard disk. Double click it and
answer yes to the import prompt. REG files can be viewed in Notepad by right
clicking on the file and selecting Edit.

The machine needs to be rebooted for these changes to be effective. This
registry setting is available in Windows XP Service Pack 1.
 
L

Larry(LJL269)

On Mon, 13 Oct 2003 15:23:11 +0100, Alex Nichol

|You can revert to the
|old 'pure ASCII' method if you have SP1 - use TweakUI for XP SP1 and on
|the Explorer page there is a 'use intuitive file sorting' (checked means
|as default, with numeric fields in numeric order).

Never found that.


| Kelly has a registry patch for the same effect

That I did find, applied, & rebooted. Special chars in
same order as b4. May have affected numerics but all
mine r left-filled with 0's anyway.

Thx 4 trying. Larry


Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
L

Larry(LJL269)

On Mon, 13 Oct 2003 18:43:14 +0200, "Torgeir Bakken

|Change the Sort Order back to Pre-XP (Line 107)
|http://www.kellys-korner-xp.com/xp_tweaks.htm

That I did find, applied, & rebooted. Special chars in
same order as b4. May have affected numerics but all
mine r left-filled with 0's anyway.

Either MS not using ASCII code or their sorts interpret
them as other than binary strings. Never seen the
latter on IBM/CDC/Cray machines! I just wanna find 1
special character that will sort after Z.

I have another app that sorts in ASCII sequence, I
think. there's a group of special chars that sorts
after Z. Yes {,¿,»,~,| all sort after Z. So MS sorts
interpret them as other than binary strings.

Think I'm SOL. It's just been buggin me 4 1 yr
wondering what is going on.

Thx 4 trying. Larry

Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
L

Larry(LJL269)

On Mon, 13 Oct 2003 17:18:19 -0500, "Kelly"

|Windows Explorer/Tools/Folder Options/View/Reset All Folders.

That will erase all of my customised Details Views
correct?

Thanks Kelly- bye- Larry


Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 
L

Larry(LJL269)

TY Raymond- I been asking this 4 months & it seems ur
only 1 who knows. I was most interested in special
chars & trying to find 1 that would sort after z. It
doesnt exist.

I experimented & found only special chars that look
like alphas will sort among alphas. EX: ƒ in f ƒ g and
Þ in p Þ q . Good to know 4 Trivial Pursuit- MVP ED. :)

Thanx again. Larry

//blogs.gotdotnet.com/raymondc/> wrote:

|The sort order used by most Windows programs is "word sort", described here:
|
|http://msdn.microsoft.com/library/d...ngreference/stringfunctions/comparestring.asp
|
|Sorting by ASCII order can't be done because most languages do not sort in
|the same order as a plain ASCII sort. Even English doesn't follow plain
|ASCII sorting.


Any advice given is my attempt to show appreciation for all
the excellent help I've received here but I'm no MVP so it
may only apply NUGS. Personal attacks, nitpicking & criticism
of anything but content will NOT be responded to. Those
posters should spend their time taking the test @
http://www.nimh.nih.gov/publicat/ocdtrt1.htm
 

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