Skip to content
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

Default sorting descending #968

Open
D-nov opened this issue Mar 19, 2025 · 2 comments
Open

Default sorting descending #968

D-nov opened this issue Mar 19, 2025 · 2 comments
Assignees

Comments

@D-nov
Copy link

D-nov commented Mar 19, 2025

I think it would be more useful to see latest records instead of earliest, so default sorting by id desc (if such column exists) would be great.

@bart-schaefer
Copy link

I'd prefer that the default sort be "none", that is, initially show the data in the order the database returns it. (I suspect that's already the case.) However, when clicking on a column heading to change the sort order, flipping to descending order first would make sense.

@D-nov
Copy link
Author

D-nov commented Mar 20, 2025

Yes that's probably better solution. Because now I have to do like 3 or more click to see the newest data, which is annoying when it can be done with 1 click.

Here is example:
when you open BIG table and are trying to see newest records you have to click (1 time) the column title to sort it, but default sorting is ASC, which is not great, because that's usually the default order anyway. Then click (2-nd time) again to sort in DESC order. So far - so good, but when dealing with big table, the first click to sort asc takes a while and if you click the column again before it finished loading the results, it actually renders the results asc, but the sorting arrow shows desc, so you have click few times more (3 extra clicks: 1 to remove sorting, 1 to sort asc and 1 to finally sort desc) to get the sorting right, which gets annoying when you repeat this exercise few times a day 🥶.

So 5 clicks for something that should take 1 click. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants