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

3 way of sorting #97

Open
aregtech opened this issue Jan 13, 2025 · 0 comments
Open

3 way of sorting #97

aregtech opened this issue Jan 13, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@aregtech
Copy link
Owner

aregtech commented Jan 13, 2025

Description:

All entries in the table should be possible to sort by Name (column 0). There should be possible to sort entries in the following way:

  1. Sort ascending --> sort by name
  2. Sort descending --> sort by name
  3. No sorting --> sort by ID.

The use of sorting by ID of the elements could solve following issues:

  • Move up / down elements --> swap the IDs of elements;
  • Save entries sorted by name --> during save of the document, the elements mirror the order of elements, swap IDs and save document, so that on next open, the elements are sorted in the same as they were before save.

This ticket is relevant to the issue #80 , Sorting by name

@aregtech aregtech added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant