Align file sorting on page sorting


I create page based on files, and it’s a pain to sort. The sortBy() function is supported, but files can’t be sorting by other parameters than name in panel, and when you use the prev() next() function, you can’t add a parameter as the prev/next function for pages. The result is no matter haow your files are sorted and displayed on the page, the prev/next will always be related to the alphabetical filename. Is there a work around ? Is it on the road map to align file and pages sorting behaviour, as they use the same fuctions ?


You could create a custom file method to get the prev/next files based on arguments.