Execution order of FOLDERCONTENT parameters

In

Go PATH=/whatever FOLDERCONTENT="nodirs,filefilter=*.txt,sortdate,maxfiles=50"

Opus will read only 50 files from the folder and then apply sortdate. I'd like it to be the other way around: read all files, sort them, limit to 50. Is there a way to do this?

Maybe FOLDERCONTENT could in general apply the parameters in the order in which they are given?

1 Like

We should be able to improve that. Will take a look once 12.29 is out. (We don't want to make any more changes for 12.29 unless something comes up in today's beta.)

1 Like

I had a look at this and from the code it seems like that's how it should already work. The entire folder is read (subject to any filters), then sorted, and then the first X are added to the menu.