Commit 67d3c3e2 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix file list sorting by date, need to use the index not the header

When loadfiles() calls sortfiles(), only the file's index records have been
read in, so trying to sort on any header field won't work.

This bug wasn't observable when sorting by date ascending, since that's the
natural index order of the files already (order imported/added), only
observed when sorting by date descending (newest at the top).
parent 3ff57242
Pipeline #2963 failed with stage
in 9 minutes and 51 seconds