Sort receipts by date then title

This commit is contained in:
2026-04-01 18:45:58 +09:00
parent 22d2a0d5e0
commit 1785a91d6d
@@ -526,7 +526,9 @@ class CreatePDFReportViewModel : BaseViewModel, ICanCheckShutdown, ILogger
public void ResortPDFItemsByDate()
{
LogInfo("Sorting report files list...");
ReportFiles = new ObservableCollection<ReportFile>(ReportFiles.OrderBy(x => x.ReceiptDateTime));
ReportFiles = new ObservableCollection<ReportFile>(
ReportFiles.OrderBy(x => x.ReceiptDateTime)
.ThenBy(x => x.Title));
HasUnsavedWork = true;
}