Page 1 of 1
Easy way to reverse order of items for PFA Open?
Posted: 15 Mar 2026 11:56
by eil
I use Modified descending sorting, so new items added at top and say downloaded series look like:
series 4
series 3
series 2
series 1
When those are opened they get in the playlist in same order, but player starts to play from top, which is not what i want. I presume some scripted sorting>command line parameter>PFA can solve this, but i'd prefer not to turn all my PFAs into scripting lists due to this small matter.
Is there maybe some PFA switch to send items reversed or similar simple tweak i'm not aware of?
Re: Easy way to reverse order of items for PFA Open?
Posted: 15 Mar 2026 13:55
by admin
Yes, makes sense. We have the same already for batch rename:
Code: Select all
v25.50.0102 - 2024-02-11 13:04
+ Rename Special | Batch Rename: Added switch /r for "Process in reverse order".
This switch is especially interesting when automatic increments are added when
renaming multiple items at the same time. It allows you to number the items from the
bottom up which is nice and natural when the list is sorted by Modified descending.
Example:
Larry /r
I'll see how can add it to PFA.
Re: Easy way to reverse order of items for PFA Open?
Posted: 15 Mar 2026 15:43
by admin
What about this rule: if tweak
ListProcessFocusedItemFirst=1 AND if the focused item is the
last selected item, then do them all in reverse order.
Now something funny: After I tested this idea (and liked it) I found out that I never exposed this tweak to the INI file! It's from 20160415, almost 10 years old, and it's implemented all over the code in lots of places, but you could never set it to 1.

In the next version you can.
This is the plan:
Code: Select all
+ Added tweak to process the focused list item first whenever multiple selections are
processed, e.g. in Custom File Associations.
ListProcessFocusedItemFirst=1
If the tweak is set to 1 and the focused list item is the last of all selected items
then they are all processed in reverse order. Compare these 2 cases when
ListProcessFocusedItemFirst is set to 1:
selections processed order selections processed order
45 47 45 49
46 48 46 48
47-Focus 49 47 47
48 45 48 46
49 46 49-Focus 45
Re: Easy way to reverse order of items for PFA Open?
Posted: 17 Mar 2026 00:10
by eil
Initially i thought exactly about some switch, like that rename one. But indeed, tweak behaviour makes it more flexible.
I never actually could grasp the concept of "shifting focus among selection"(while mouse drag-selection used), but as i understand this tweak allows to change "operation direction" based on which item is selected last = which does the trick i'm searching for.
It's from 20160415, almost 10 years old, and it's implemented all over the code in lots of places, but you could never set it to 1.
Now that's a real "undercover secret feature".
BTW, thank you for adding this to x32 too, still use it while x64 being polished.
The only thing missing IMHO is the INI description that it's a tweak, cause otherwise it risks "to get lost for a decade again".
Re: Easy way to reverse order of items for PFA Open?
Posted: 17 Mar 2026 08:24
by admin
eil wrote: ↑17 Mar 2026 00:10
BTW, thank you for adding this to x32 too, still use it while x64 being polished.
The only thing missing IMHO is the INI description that it's a tweak, cause otherwise it risks "to get lost for a decade again".
1) Same here
2) Oh yes

Re: Easy way to reverse order of items for PFA Open?
Posted: 19 Mar 2026 12:08
by admin
Code: Select all
+ Added tweak to process the focused list item first whenever multiple selections are
processed, e.g. in Custom File Associations.
ListProcessFocusedItemFirst=1
If the tweak is set to 1 and the focused list item is the last of all selected items
then they are all processed in reverse order. Compare these 2 cases when
ListProcessFocusedItemFirst is set to 1:
selections processed order selections processed order
45 47 45 49
46 48 46 48
47-Focus 49 47 47
48 45 48 46
49 46 49-Focus 45
By the way, since many Windows versions ago, File Explorer has always acted like the left example. I knew that, but I forgot to set
ListProcessFocusedItemFirst=1 as the factory default. Next beta.