| Windows 7: File Sorting Problem |
08 Mar 2010
|
#1 | | Windows 7 Home Premiere x64 Atlanta, Georgia |
File Sorting Problem Ive just discovered a new problem. In Win XP All my Movie file clips were sorted by Name ie: Dandy, Dandy (1), Dandy (2). Now this dang Win 7 is sorting them Dandy (1), Dandy (2), Dandy. NOW the first clip is Last. How the heck could MS change sorting after years the first way. AHHHH! | My System Specs |
| System Manufacturer/Model Number Custom Made OS Windows 7 Home Premiere x64 CPU I7-950, 3.07Ghz Motherboard Asus P6X58D Memory 6 GB DDR3 OCZ Graphics Card ATI 5870 Sound Card Creative Soundblaster Audigy 2 ZS Screen Resolution 1920x1200 PSU Coolermax 950W Case Cooler Master Wave Cooling 8 Fans Hard Drives WD 1 TB Cavier Black and WD 500 GB Cavier Internet Speed Cable, whooosh |
08 Mar 2010
|
#2 | | Windows 7 Ultimate x64, Mint 9 In the Crust |
Well, simple solution is to add a 0 to the first one...
Other than that, I believe it has always been this way...
~Lordbob | My System Specs | | System Manufacturer/Model Number Hera OS Windows 7 Ultimate x64, Mint 9 CPU Intel i5-2500k Motherboard ASUS P8P67 Pro Memory 2x 4Gb Corsair VENGEANCE DDR3-1600 Graphics Card NVidia GeForce N260GTX Twin Frozr Sound Card Realtek HD OnBoard Audio Monitor(s) Displays ASUS 24" Monitor Screen Resolution 1920x1080 Keyboard Razer Tarantula Mouse Razer Lachesis PSU Cooler Master Real Power Pro 750W Case Cooler Master Haf 932 Cooling Fans Hard Drives G.SKILL Phoenix Series 60GB SATA II MLC Internal Solid State Drive (SSD)
SAMSUNG Spinpoint F3R 1TB 7200 RPM 32MB Cache SATA II Internet Speed not fast enough |
08 Mar 2010
|
#3 | | |

Quote: Originally Posted by jambooger Ive just discovered a new problem. In Win XP All my Movie file clips were sorted by Name ie: Dandy, Dandy (1), Dandy (2). Now this dang Win 7 is sorting them Dandy (1), Dandy (2), Dandy. NOW the first clip is Last. How the heck could MS change sorting after years the first way. AHHHH! My experience has been that XP sorted files incorrectly:
file1
file10
file11
file2
file3
file4
file5
file6
file7
file8
file9
Windows Vista and Windows 7 has fixed that, and now file sort properly, because it now also recognizes number in filenames as numbers, not just another character in the ASCII chart:
file1
file2
file3
file4
file5
file6
file7
file8
file9
file10
file11 | My System Specs | | System Manufacturer/Model Number Custom Build OS Windows 7 Ultimate x64 CPU AMD Phenom 9600 Quad Core Motherboard ASUS MB-M3A32-MVP Deluxe/WiFi Memory 2 x A-Data 2GB DDR2-800 Graphics Card ASUS ATI Radeon HD 2400PRO Sound Card C-Media 7.1 Surround Monitor(s) Displays Sahara 19" Screen Resolution 1600x1200 Keyboard Mercury Mouse Logitech PSU 800W Case Thermaltake Tai-Chi Cooling Tai-Chi Water Cooler Hard Drives 1 x 80GB Seagate (IDE)
2 x 120GB Seagate (IDE/Sata)
2 x 200GB Seagate (IDE/Sata)
1 x 250GB Seagate (Sata)
1 x 320GB Seagate (Sata)
2 x 1TB Seagate (Sata)
1 x 1.5TB Seagate (Sata) Internet Speed 384kbps |
30 Mar 2010
|
#4 | | |
AFAIK there is simply a bug in Windows 7 sorting file names, and I'm astonished that it hasn't been brought to light before now. Here's a list of files in Windows 7;
C:\windowsbug\00000000.txt
C:\windowsbug\1.txt
C:\windowsbug\1B.txt
C:\windowsbug\2222222C.txt
C:\windowsbug\3333333A.txt
C:\windowsbug\5555555A.txt
C:\windowsbug\7777777B.txt
C:\windowsbug\11111111.txt
C:\windowsbug\22222222.txt
C:\windowsbug\33333333.txt
C:\windowsbug\44444444.txt
C:\windowsbug\66666666.txt
C:\windowsbug\00100000000.txt
C:\windowsbug\100000000.txt
Is there anyone who believes this is a correct or acceptable sort order? I can certify that I've worked on dozens of different systems over the past 50 years and never saw anything like this. | My System Specs | | |
30 Mar 2010
|
#5 | | Windows 7 Ultimate x86 build 7600 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx Chennai, India |

Quote: Originally Posted by Bruce Gomes AFAIK there is simply a bug in Windows 7 sorting file names, and I'm astonished that it hasn't been brought to light before now. Here's a list of files in Windows 7;
C:\windowsbug\00000000.txt
C:\windowsbug\1.txt
C:\windowsbug\1B.txt
C:\windowsbug\2222222C.txt
C:\windowsbug\3333333A.txt
C:\windowsbug\5555555A.txt
C:\windowsbug\7777777B.txt
C:\windowsbug\11111111.txt
C:\windowsbug\22222222.txt
C:\windowsbug\33333333.txt
C:\windowsbug\44444444.txt
C:\windowsbug\66666666.txt
C:\windowsbug\00100000000.txt
C:\windowsbug\100000000.txt
Is there anyone who believes this is a correct or acceptable sort order? I can certify that I've worked on dozens of different systems over the past 50 years and never saw anything like this. That is not a bug in Windows 7. The order is the same in Windows XP also.
EDIT: I'm not in my 7 machine right now. Will have to check it in the evening | My System Specs | | Computer type Laptop System Manufacturer/Model Number HP EliteBook 8530w Mobile Workstation OS Windows 7 Ultimate x86 build 7600 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx CPU Intel Core 2 Duo Processor P8600 (2.40 GHz, 3 MB L2 cache) Motherboard Mobile Intel PM45 Express Chipset ICH9M-Enhanced Memory 2GB 800 MHz DDR2 SDRAM Graphics Card ATI Mobility FireGL V5700 with 256 MB Sound Card SoundMAX Integrated Digital HD Audio Monitor(s) Displays 15.4-inch WXGA anti-glare (1280 x 800 resolution) Screen Resolution 1280 x 800 Mouse Synaptics PS/2 Port Touchpad, USB Mouse Hard Drives 250GB Fujitsu MJA2250BH G2 ATA Device (IDE),
120GB in External Casing Internet Speed 2 Mbps Antivirus MSE Browser Firefox, Chrome, IE Other Info Authentec AES2810 Fingerprint Reader,
Optiarc DVD RW AD-7561S LightScribe |
30 Mar 2010
|
#6 | | Windows 7 Ultimate (x64) SP1 |
Just did a test and you can see mine sorts perfectly... | My System Specs | | System Manufacturer/Model Number tw33k OS Windows 7 Ultimate (x64) SP1 CPU Intel 3770k 4.6GHz Motherboard ASUS Maximus V Formula Memory 8GB (2x 4GB) Crucial Ballistix Graphics Card Sapphire 7950 (1060/1600) Sound Card On Board Realtek HD Audio Monitor(s) Displays 27" Acer B273HU (via HDMI) Screen Resolution 2048 x 1152 Keyboard Microsoft Wireless 5000 Mouse Microsoft Wireless 5000 PSU Corsair AX750 Gold Case Corsair Obsidian 800DW Cooling Corsair H100 (2x AP-121/2x UK-3000 push/pull) Hard Drives Crucial M4 128GB
2TB WD Black
1TB Samsung F3 SATA
1TB WD Elite External
2TB WD USB 3.0 Internet Speed 5mb/s Other Info Logitech z-2300 2.1 speakers
Lamptron FC-5 v2 |
31 Mar 2010
|
#7 | | |
In the heat of the moment I certainly did not make myself clear. It's not a bug, it's wrong in Windows 7, Vista and XP *by design*. Microsoft feels they wanted to try to make the sort intelligent, and everyone in the computer field feels they're dead wrong. There were some "not so trivial" registry changes one could make in prior releases to correct this, but I haven't seen anything so definitive in Windows 7 for correcting this design error. I have thousands of files with names similar to the ones I listed, and I simply can't find my files anymore since the order is so jumbled. More importantly, anyone who feels Windows is doing this correctly please examine my list of files above. Microsoft simply did not consider the horrendous ramifications of their sort - I repeat my question, does ANYONE feel the sorted list above is acceptable? Let me also note that there's not a single other computer system that would sort files in this manner - so is Microsoft saying they're right and every other operating system since the beginning of time is wrong? It simply boggles the mind that Microsoft would do this - and not provide an easy or (at least) properly documented way to undo this.
Renaming my files is not an option; software and scripts logically relate the files using the current naming conventions. | My System Specs | | |
31 Mar 2010
|
#8 | | Windows 7 Ultimate x64, Mint 9 In the Crust |
In case you didn't notice, everyone else's files are sorted correctly.... Therefore you calling this deliberate is false.
~Lordbob | My System Specs | | System Manufacturer/Model Number Hera OS Windows 7 Ultimate x64, Mint 9 CPU Intel i5-2500k Motherboard ASUS P8P67 Pro Memory 2x 4Gb Corsair VENGEANCE DDR3-1600 Graphics Card NVidia GeForce N260GTX Twin Frozr Sound Card Realtek HD OnBoard Audio Monitor(s) Displays ASUS 24" Monitor Screen Resolution 1920x1080 Keyboard Razer Tarantula Mouse Razer Lachesis PSU Cooler Master Real Power Pro 750W Case Cooler Master Haf 932 Cooling Fans Hard Drives G.SKILL Phoenix Series 60GB SATA II MLC Internal Solid State Drive (SSD)
SAMSUNG Spinpoint F3R 1TB 7200 RPM 32MB Cache SATA II Internet Speed not fast enough |
31 Mar 2010
|
#9 | | |
I think a very simple solution is, just rename your file with same long character.
eg : file01, file02, file03 .. file99 or file0001, file0002, ... file9999
that's what I do ... | My System Specs | | |
01 Apr 2010
|
#10 | | |
The is noting wrong with the way Windows 7 is sorting the files. Allow me to explain, and perhaps you can stop making claims that are untrue. First, I want you to examine the following screenshot:
I recreated the files you are using to make your claim, and this is what I've discovered:
Windows Explorer will attempt to sort filenames using correct alphabetical sorting, and also attempts to extrapolate numbers in the file names. In other words, it uses correct Alpha/Numeric sorting. If you look closely at your filenames as displayed in Windows Explorer, you will see that they are sorted in numerical order.
However, if you look at the same listing of files within the command prompt (sorted by name), then the listing is different. That is because the command line, and indeed older operating systems, don't correctly sort alphanumerically, they sort using the ASCII codes of the characters in the filenames. In ASCII, the numbers "0 - 9" are represented using the codes 48 - 57, while "a - z" is represented using 97 - 122, and "A - Z" are 65 - 90. This is why in the command line sort (using your example filenames) the file "22222222.txt" is listed before "222222C.txt".
I believe the sorting mechanisms of the Windows Explorer GUI are correct, as it distinguishes correctly between letters and numbers. | My System Specs | | System Manufacturer/Model Number Custom Build OS Windows 7 Ultimate x64 CPU AMD Phenom 9600 Quad Core Motherboard ASUS MB-M3A32-MVP Deluxe/WiFi Memory 2 x A-Data 2GB DDR2-800 Graphics Card ASUS ATI Radeon HD 2400PRO Sound Card C-Media 7.1 Surround Monitor(s) Displays Sahara 19" Screen Resolution 1600x1200 Keyboard Mercury Mouse Logitech PSU 800W Case Thermaltake Tai-Chi Cooling Tai-Chi Water Cooler Hard Drives 1 x 80GB Seagate (IDE)
2 x 120GB Seagate (IDE/Sata)
2 x 200GB Seagate (IDE/Sata)
1 x 250GB Seagate (Sata)
1 x 320GB Seagate (Sata)
2 x 1TB Seagate (Sata)
1 x 1.5TB Seagate (Sata) Internet Speed 384kbps File Sorting Problem problems? All times are GMT -5. The time now is 06:31 AM. | |