FOLDERCONTENT - sorting of folders

Having some issues with FOLDERCONTENT sorting arguments as they relate to folders.

sortdate works for files, but folders remain sorted alphabetically.

sortreverse works for files, but has no effect on folders ie they remain sorted A-Z instead of Z-A.

Any idea as to why this might be?

The sort options for Go FOLDERCONTENT menus only affect files; folders in the menus are always alphabetical.

(Folder dates are rarely meaningful, and folder sizes aren't calculated when building the menus, so folders are kept alphabetical. We could add separate options to sort the folders if needed, which would be better than having the file sort options apply to folders. I think people usually want folder alphabetical in those menus.)

Thanks @Leo

I was going by the GO help documentation:

sortdate - "Sorts files and folders in the generated list by timestamp."

In terms of my use case, I have a number of folders each containing a number of files (application builds). I'd like the folders sorted by reverse date so that the folder containing the most recently updated files (ie build) is shown at the top of the list.

If a folder-specific sort argument could be put on a feature request list somewhere, that'd be great!

Thanks again.

1 Like

We'll correct the manual; it should be similar to what it says for the other sort modes but was't for some reason.