Bug 513464

Summary: Provide multi key sorting in schedules view
Product: [Applications] kmymoney Reporter: Tcpsorcerer <Smurfjet>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tcpsorcerer 2025-12-17 03:09:17 UTC
SUMMARY
In the Schedule screen sorting by (Type/Name ASC) then by (date ASC)  is not persistent

STEPS TO REPRODUCE
1. In schedule screen, sort by (Type/Name ASC) then by (date ASC) , the order is: Bills, Deposits, Loans, Transfers
2. Close program
3. Open program, goto schedule screen and the sort order is: Bills, Deposits, Transfers, Loans

OBSERVED RESULT
Order not respected - it is : Bills, Deposits, Transfers, Loans instead of: Bills, Deposits, Loans, Transfers

EXPECTED RESULT
Bills, Deposits, Loans, Transfers

SOFTWARE/OS VERSIONS
Windows: Yes
macOS: N/A
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
Linux Mint: Yes

ADDITIONAL INFORMATION
Hopefully not a user error :D
Comment 1 Thomas Baumgart 2025-12-17 07:23:44 UTC
The current implementation is based on the standard QSortFilterProxyModel sorting behavior which is based on a single sort key (column). Providing the sort behavior that is requested requires to implement a behavior that allows to support sorting based on multiple keys (columns) as available for the ledger sort (see Settings/Ledger/Sorting). I change this to wish list item and modify the title to reflect this.