Hello Newbie2016 and welcome to the club!
Sorry for the delay in response - I don't use this feature much and was hoping someone more familiar would reply.
Admittedly, I too am struggling to understand how this is meant to work. I believe it currently persists over switching tabs, but not across browsing. Meaning if you navigate away from the custom sorted listing and then return to that path the custom order is not restored automatically.
There are two ways to restore the sort order without manually moving items.
- Via the SortByList() scripting command.
- For instance, this will move folders Music, Photos and the file readme.txt to the top of the list (in that order):
Code: Select all
sortByList('*\Music;*\Photos;readme.txt', ';');
There's no good way to automate this though and maintaining the script can be a bit of a pain. Granted a more complex script could improve this some, but I don't think anyone has shared one yet.
- Using Set Home to store the order and then Go Home to restore it.
- Ensure XY is configured to restore the layout by enabling this option: Tools | Configuration | Tabs | Going home also restores the list layout
- Arrange the items in your desired order.
- Stored the tab's home using: View | Tab | Set Home
- Navigate away from the current location.
- Return "home" using: View | Tab | Go Home
This unfortunately ties the sort order to the tab, meaning each tab can only remember one location and its order, so if you want to custom-sort multiple folders each will need their own tab.
Perhaps the best option for you would be to use the Paper Folder method described here:
https://www.xyplorer.com/release_14.30.php#PCSO
Just note that with this method you may need to ensure you're sorting by the
Index column to get your custom order.
Sorry that's not a terribly useful response.
Hopefully, someone more familiar with this feature can offer you some better advice!