Sorting question

Q & A for the old 2X Explorer file manager. For other topics, please use the corresponding forum.

Moderators: fgagnon, nikos, Site Mods

Post Reply
flightjock
New Member
Posts: 7
Joined: 2003 Oct 07, 13:27
Location: Schiphol Airport, Netherlands

Sorting question

Post by flightjock »

In explorer2 when sorted by name, files and folders are shown arranged alphabetically but intermixed. In 2xexplorer, the folders were always at the top. Is the sorting this way in explorer2 deliberate? Can I change it so that the folders are at the top as usual?
Thanks,
Tony
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

That's something I would like to see, too!
I always would prefer to keep folders grouped together at the top of the list.
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

flightjock wrote:Can I change it so that the folders are at the top as usual?
Which version of X2 are you using? I don't have problems with the sorting of folders (X2.46). They all appear alfabetically on top before all the files (detail view, sorted ascending on the name column).

You can tweak the registry to sort zipfolders as files or not (key: 'HKCU\Software\ZabaraKatranemia Plc\xplorer2\bSortZipAsFiles'). When you set the value to 0, zipfolders are also put on top between the folders (alfabetically sorted of course)

Even a clean registry (remove the entire xplorer2 key when X2 is closed) gives me the same result. What are you doing different??

Jan.
Dumb questions are the ones that are never asked :turn:
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

You are right that x2.46 keeps folders at top for sort by name.
I would like to see that behavior for sort by date as well.
(but that's a diifferent issue than what flightjock asked)
User avatar
nikos
Site Admin
Site Admin
Posts: 15800
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

i have a planned registry tweak to put folders first at all times
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Do it better than M$ Explorer !!

Post by JRz »

nikos wrote:i have a planned registry tweak to put folders first at all times
I agree. That would be consistent with standard M$ Windows Explorer behaviour.

But I think we shouldn't be trying to copy Explorer on this one. X2 should in my view put folders on top, even when sorting descending! This is what you have implemented for the sorting on the name column already Nikos. I like it. :D

Note that M$ Explorer doesn't!! When you reverse the sort order it puts folders last. This holds true for sorting on all columns in M$ Explorer. When you sort on date ascending, for instance, all folders are put on top, sorted on oldest to newest downwards. When you reverse the sort to descending, the folders are put at the bottom, sorted newest to oldest downwards!

I would be in favor of putting folders first whatever the sortorder. Of course they should obey the sort order among themselves (as M$ Explorer does) :)


Still puzzles me what flightjock is complaining about? Not using .46, perhaps? The sort by name should at least be putting the folders first as fgagnon confirmed.

Jan.
Dumb questions are the ones that are never asked :turn:
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

second the motion (as explained so well by JRz) :D
flightjock
New Member
Posts: 7
Joined: 2003 Oct 07, 13:27
Location: Schiphol Airport, Netherlands

Post by flightjock »

I have the newest version (0.0.0.46) but sorting by name does not put the folders at the top. Maybe I should change/delete something in the registry but I can't do that being not a system administrator.
flightjock
New Member
Posts: 7
Joined: 2003 Oct 07, 13:27
Location: Schiphol Airport, Netherlands

Post by flightjock »

Surprise, I just "discovered" the set registry key option. After OK-ing an empty field everyting sorts just fine now.

Thanks for the help
flightjock
New Member
Posts: 7
Joined: 2003 Oct 07, 13:27
Location: Schiphol Airport, Netherlands

Post by flightjock »

It seems that I still have a problem. And it is a strange one too. When selecting a local drive (C, D) the folders are on top and stay on top independent of the A-Z or Z-A sorting.
However, when doing the same for our network drives (X, Y, Z), the folders and files are sorted alphabetically but intermixed. I don't understand why explorer2 would handle local and non-local drives differently.

Any suggestions?

P.S. I use the latest (october 12) version of explorer2.
User avatar
nikos
Site Admin
Site Admin
Posts: 15800
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

the only way this would happen would be if these network folders had a non-zero size associated with them, combined with a positive bSortZipAsFiles registry setting
flightjock
New Member
Posts: 7
Joined: 2003 Oct 07, 13:27
Location: Schiphol Airport, Netherlands

Post by flightjock »

I don't think that is the case. Would emailing a screenprint jpg be helpful?
User avatar
nikos
Site Admin
Site Admin
Posts: 15800
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Post by nikos »

well it won't hurt! :)
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

Can we assume that the 'folders' really are folders, and not file-links (shortcuts) to the folders?
The links sort like regular files.
Post Reply