Possible (custom column) sorting bug with TC 7.56a ?

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Possible (custom column) sorting bug with TC 7.56a ?

Post by *Balderstrom »

I can't figure this one out, The following sorted by "Name" in both cases.
Sort Method (Config) is: Alphabetical, considering accents

1) Details View, 7.56a, and 7.03 (haven't tested 7.55)
Files are ordered correctly, and sorted by name.

2) Create a custom column, it doesn't appear to matter what kind of CC, I did a test one that used 1 extra TabStop as: [=tc.name]
(Occurs with many Custom Columns).

3) Files are sorted by name, but it doesn't matter which TabStop you sort by, the files are displayed out of order in TC 7.56a, and displayed in the correct order with TC 7.03
Total Commander 7.56a wrote:Apocalyptica\
Cinderella\
Cranberries\
Eurythmics\
Evanescence\
Jamiroquai\
MingleWood\
Nickelback\
WinterSleep\
Wintersleep - Untitled.log

30 Seconds to Mars\
AC DC\
Amanda Marshall\
Amy Winehouse\
Billy Talent\
Black Sabbath\
CandleBox\
City & Colour\
Colin James\
Concrete Blonde\
Cult\
Destiny's Child\
Fuel\
Green Day\
Guns N' Roses\
Iron Maiden\
James Blunt\
Joss Stone\
Judas Priest\
K-OS\
Lil' Kim\
Lil' Mo\
Linkin Park\
Marilyn Manson\
Matchbox 20\
MeatLoaf\
Megadeth\
Metallica\
Ministry\
Nelly Furtado\
Nine Inch Nails\
No Doubt\
Our Lady Peace\
Pink\
Rihanna\
Sass Jordan\
Skinny Puppy\
Stevie Nicks\
Taylor Dane\
Tesla\
The Raconteurs\
The The\
Tom Cochrane\
Tori Amos\
Two\
Ugly Kid Joe\
Warlock\
Warlock ( Doro )\
Warrior Soul\
__MUSIC__.txt
__New Text Document.txt
_hex
_mvCover.cmd
_test.cmd
_test2.cmd
_test3.cmd
_test4.cmd
1995_Lucy_CandleBox_1995_Lucy.log
30 Seconds to Mars - This Is War.log
Apocalyptica - Amplified CD1.log
Apocalyptica - Amplified CD2.log
Apocalyptica - Inquisition Symphony.log
Colin James - Fuse.log
Cult - Born Into This.log
descript.ion
Doro_Fear No Evil.log
Green Day - American Idiot.log
Nine Inch Nails - Broken.log
Nine Inch Nails - Pretty Hate Machine.log
Nine Inch Nails - With Teeth.log
Nine Inch Nails - Year Zero.log
Skinny Puppy - Back and Forth Series Two.log
Skinny Puppy - Bites And Remission.log
Skinny Puppy - Mind The Perpetual Intercourse.log
Skinny Puppy - Rabies.log
Skinny Puppy - The Process.log
Skinny Puppy - Too Dark Park.log
Skinny Puppy - VIVIsectVI.log
Warlock - Triumph And Agony.log
Warlock ( Doro )_MP3-Delete.LST
Total Commander 7.03 wrote:30 Seconds to Mars\
AC DC\
Amanda Marshall\
Amy Winehouse\
Apocalyptica\
Billy Talent\
Black Sabbath\
CandleBox\
Cinderella\
City & Colour\
Colin James\
Concrete Blonde\
Cranberries\
Cult\
Destiny's Child\
Eurythmics\
Evanescence\
Fuel\
Green Day\
Guns N' Roses\
Iron Maiden\
James Blunt\
Jamiroquai\
Joss Stone\
Judas Priest\
K-OS\
Lil' Kim\
Lil' Mo\
Linkin Park\
Marilyn Manson\
Matchbox 20\
MeatLoaf\
Megadeth\
Metallica\
MingleWood\
Ministry\
Nelly Furtado\
Nickelback\
Nine Inch Nails\
No Doubt\
Our Lady Peace\
Pink\
Rihanna\
Sass Jordan\
Skinny Puppy\
Stevie Nicks\
Taylor Dane\
Tesla\
The Raconteurs\
The The\
Tom Cochrane\
Tori Amos\
Two\
Ugly Kid Joe\
Warlock\
Warlock ( Doro )\
Warrior Soul\
WinterSleep\
__MUSIC__.txt
__New Text Document.txt
_hex
_mvCover.cmd
_test.cmd
_test2.cmd
_test3.cmd
_test4.cmd
1995_Lucy_CandleBox_1995_Lucy.log
30 Seconds to Mars - This Is War.log
Apocalyptica - Amplified CD1.log
Apocalyptica - Amplified CD2.log
Apocalyptica - Inquisition Symphony.log
Colin James - Fuse.log
Cult - Born Into This.log
descript.ion
Doro_Fear No Evil.log
Green Day - American Idiot.log
Nine Inch Nails - Broken.log
Nine Inch Nails - Pretty Hate Machine.log
Nine Inch Nails - With Teeth.log
Nine Inch Nails - Year Zero.log
Skinny Puppy - Back and Forth Series Two.log
Skinny Puppy - Bites And Remission.log
Skinny Puppy - Mind The Perpetual Intercourse.log
Skinny Puppy - Rabies.log
Skinny Puppy - The Process.log
Skinny Puppy - Too Dark Park.log
Skinny Puppy - VIVIsectVI.log
Warlock - Triumph And Agony.log
Warlock ( Doro )_MP3-Delete.LST
Wintersleep - Untitled.log
To further complicate the issue, when you use any of TC's Clipboard copy routines after selecting ALL of the files, they are then copied in the order they SHOULD be displayed in. Except that's not how they are displayed.

It happens in other folders, but is most readily apparent in my MUSIC folder since most all the letters of the alphabet are accounted for.

NOTE: 7.56a and 7.03 are using the same wincmd.ini file.

If anyone feels like testing with the same input/filelist, copy the 2nd list above to a file called: filelist.txt
and run this batch file to recreate the Folders and files.

Code: Select all

@ECHO OFF
FOR /F "delims=" %%F IN (filelist.txt) DO CALL:MKDirFile "%%~F"
GOTO:EOF

:MKDirFile
SET fileName="%~1"
IF "%fileName:~-2,1%" == "" ( 
	mkdir %fileName%
) ELSE (
	COPY filelist.txt %fileName%
)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I cannot reproduce your problem. Here is what I tried:
1. Created new column in custom columns view containing just [=tc.name]
2. Set sort order to Alphabetical, considering accents
3. Sorted by that column

It seems that only folders are sorted incorrectly on your system. I tried with both folders sorted alphabetically and "like files", and it was correct in both cases.

What am I doing wrong? Does anyone else have sorting problems too?
Author of Total Commander
https://www.ghisler.com
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

ugh. It's Twinkey. I thought I had prevented it from loading during testing. The sort order is fine when twinkey is unloaded, and disordered when TwinKey is running. Unfortunately it doesn't appear to be any of it's options that one would expect that might change file order (Sticky Files, Bookmarks).
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
Post Reply