Strongbox icon indicating copy to clipboard operation
Strongbox copied to clipboard

Sorting of items and groups

Open slalabs opened this issue 1 year ago • 5 comments

It would be a nice enhancement to have more customized sorting options.

For myself, I have groups like Logins, Credit Cards, Passwords and so on. The "Logins" Group should be the first item in the list. If I enable custom sorting, my entries are not alphabetical anymore :(

A option for sorting groups separate from the entries would be nice 😀

slalabs avatar May 06 '23 22:05 slalabs

Hi @slalabs - You should already be able to do this. I presume you mean on iOS? If so, checkout the "Keep Groups on Top" in sort menu when you are on the Groups tab.

You can change ordering by choosing "Custom Sort" order in the sort menu, and then choosing "Select" from the "More" button (circle with 3 dots) menu. This will allow you to re-arrange/re-order items.

If this isn't helpful, you'll need to provide much more detail. Thanks!

strongbox-mark avatar May 09 '23 10:05 strongbox-mark

Thanks for your explanation, mark! But that is not exactly it, let me visualize:

Database Root

  • Logins
  • Passwords
  • Insurance Documents
  • Foo
  • Bar

That's my structure. In every group are entries, also some in Root. Your recommendation sets the entries in Root under the groups in the list, but the list is alphabetically too:

Database Root

  • Bar
  • Foo
  • Insurance Documents
  • Logins
  • Passwords

I wish there was a setting that respects my custom group order, while ordering my entities (in the groups) alphabetically :)

slalabs avatar May 23 '23 11:05 slalabs

Hi, would you be able to say if this is on iOS or macOS and provide a screenshot with an example of what you're seeing (Create a new Database if you like), v difficult to know what you mean and where. Thanks.

strongbox-mark avatar May 23 '23 12:05 strongbox-mark

Hi Mark,

I have custom sorting enabled, to leave my group-structure like it is.

IMG_3194

With custom enabled, my entries in the groups are not alphabetically

IMG_3190

I found out, apple is the last because it is the last created. In the view in the group, I would need an alphabetically sorting.

IMG_3193

If I enable alphabetically, my groups in the database root are messed up.

IMG_3189

Sort groups custom, sort entries alphabetically. In this example, there are only 3 groups and entries. My main DB has around 1000 entries and 23 groups. This is really a mess. In the official KeePassXC Desktop App they leave my groups alone, I could only sort the entries (alphabetically, has notes, username, URL and so on).

You could get my demo here, the password is strongbox

slalabs avatar Aug 26 '23 23:08 slalabs

Hi @slalabs - Got it now... ok, yeah, interesting use case, it makes sense that you can do this in the Desktop app because there is a separate pane for entries.

Could be a nice addition to our sort options on the Groups tab... will add it to the list.

strongbox-mark avatar Aug 27 '23 16:08 strongbox-mark