how to sort folders to the bottom of a list?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
ith
Posts: 54
Joined: 10 Oct 2019 09:40

how to sort folders to the bottom of a list?

Post by ith »

I would like to know, how I can sort folders to the bottom of a list view (alphabetical order).

Thanks!

admin
Site Admin
Posts: 60525
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: how to sort folders to the bottom of a list?

Post by admin »

Well, you can't. Not supported.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: how to sort folders to the bottom of a list?

Post by bdeshi »

You can make do with a custom column, secondary sort, and FVS.
First add a custom column with this definition. Just run snippet; from the addressbar, then paste in the following code into the textbox that opens:

Code: Select all

Snip: CustomColumn 1
  XYplorer 20.50.0100, 11/6/2019 5:38:27 PM
Action
  ConfigureColumn
Caption
  is_folder
Type
  2
Definition
  1
Format
  2
Trigger
  0
Item Type
  1
Item Filter
  
Now right click Name column > Add Column.
An (undefined) column gets added.
right click that column > Select Custom column.
Choose "is_folder" from the list.
Click on that column header to sort folders to bottom of list.
(Minimize the column width as much as possible, and maybe move it to the end all other columns.)
Now hold SHIFT and click Name column header. (Holding SHIFT does a secondary sort, and is applicable to all columns.)
At this point, the list should be sorted by Name, ascending, with folders at the bottom.
Save the current view as the default folder view setting: Menu > View > folder view settings > Enable Folder view settings, then Define this view as default from the same menu. You can choose to save the sort order only too, from the bottom-most item of this menu.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

ith
Posts: 54
Joined: 10 Oct 2019 09:40

Re: how to sort folders to the bottom of a list?

Post by ith »

admin wrote: 06 Nov 2019 11:23 Well, you can't. Not supported.
Could you add support for this?

admin
Site Admin
Posts: 60525
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: how to sort folders to the bottom of a list?

Post by admin »

IMO this is a pretty exotic thing to wish. Have you seen this anywhere?

ith
Posts: 54
Joined: 10 Oct 2019 09:40

Re: how to sort folders to the bottom of a list?

Post by ith »

admin wrote: 06 Nov 2019 20:16 IMO this is a pretty exotic thing to wish. Have you seen this anywhere?
No, but that does not mean that it cannot be very useful. I have already discovered many features in XYplorer that I did not see anywhere else ;-)

Peter28
Posts: 8
Joined: 14 Jun 2018 09:57

Re: how to sort folders to the bottom of a list?

Post by Peter28 »

I'd like that feature (secondary sorting, sorting folder to the bottom, at save this in the folder view) too.
When can we expect it?

admin
Site Admin
Posts: 60525
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: how to sort folders to the bottom of a list?

Post by admin »

Peter28 wrote: 21 Feb 2020 10:35 When can we expect it?
I sorted it to the bottom of my list. :biggrin: SCNR

Post Reply