Fix sorting by descending modification time in director