New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Secondary 'Sort By' Column #4690
Comments
How about having the secondary sort set to the last sort column.
Just a thought. Avoids any UI changes, |
I have sometimes wished for this myself but I can see good and less good consequences of this.
Maybe. |
All good points... Maybe we enforce that sort by Date always has ID as secondary and sort by ID has no secondary sort (ID will be unique anyway)? ...more debate to be had. |
Oooo... it is getting complicated. :-) |
I think that two columns (primary and a secondary) would be sufficient for 99% of people who want to sort their transactions. And with any more, it gets difficult to show the sorting order visually. And I would assert that it's only a fraction of users that need to sort at all; i.e. most people are happy with the standard Date > ID sort because that matches their bank statement. In the forum, we've even encountered people who are unaware that clicking on a column header is a standard way of sorting tabular data in (most) apps. |
You are right. |
Calibre for example uses the method that @whalley said on second comment and for me it's very useful. Never needed another more. Searching on internet I've found someone that said that Calibre uses the last 3 columns used to sort instead only the 2 like on that example, but IMO only the last 2 (the previous and the actual) would be enough. |
Should now be able to sort data by multiple columns. I've not put a secondary sort marker on the view as I feel this may confuse casual users who just normally sort by ID or DATE. It should save/restore the secondary and primary sort order. |
Testing 1.5.21-Beta.1 commit: dac3e54 (2022-09-08) I've checked the primary/secondary sort for several combinations of columns in Bank transactions. All seems OK. Does this enhancement apply to Assets yet? While trying to check this, I noticed that the Ascending/Descending sort marker for assets Dates is the wrong way round. UPDATE: The wrong sort marker is used for all asset columns. |
No, I've only implemented it for the transactions view. Other views only support single column sorting.
Can you raise an issue for that and we will look to fix. |
I think it should support multiple levels of sorting, not just two - though I think the benefits of greater that two are not too valuable. It's only that we save/recover the primary and secondary. |
Agreed and Noted. |
thank you for implenting! It appears to be working as intended in the version just deployed, but I dont see where to change the secondary sort field? (using portable build - I had expected to find it in the options panel) |
As noted above.... The secondary sort is set to the last sorted column, we don't need any special settings.
|
https://forum.moneymanagerex.org/viewtopic.php?t=10552
When sorting by transactions by 'Payee' in Account View, transactions are sorted by 'Payee', then seemingly by ID as a secondary value. It would be great if we could select the secondary sorting to be via Date (or any other value desired).
The issue with the current solution is that when future transactions are entered for the same payee, but then you add additional transactions in a shorter timeframe, there is no way to have them sort in ascending date ordered by AND payee, without deleting/recreating them in the desired order, to get ascending IDs.
The text was updated successfully, but these errors were encountered: