Page 1 of 1

how to sort folders to the bottom of a list?

Posted: 04 Nov 2019 15:31
by ith
I would like to know, how I can sort folders to the bottom of a list view (alphabetical order).

Thanks!

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

Posted: 06 Nov 2019 11:23
by admin
Well, you can't. Not supported.

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

Posted: 06 Nov 2019 12:46
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.

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

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

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

Posted: 06 Nov 2019 20:16
by admin
IMO this is a pretty exotic thing to wish. Have you seen this anywhere?

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

Posted: 23 Nov 2019 21:12
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 ;-)

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

Posted: 21 Feb 2020 10:35
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?

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

Posted: 27 Feb 2020 16:31
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