• Rob Swindell's avatar
    Fix file list sorting by date, need to use the index not the header · 67d3c3e2
    Rob Swindell authored
    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).