Skip to content

Users should be able to sort tags #2288

@ClamsyHub

Description

@ClamsyHub

Describe the bug

In the Bookmarks app, the tags list is currently unsorted and static.

While the bookmarks themselves support multiple sort orders (e.g. by title, creation date, click count, or manual order), tags cannot be sorted in any way – neither alphabetically nor by usage frequency or creation date.

This leads to a poor user experience, especially for users with many tags. It’s hard to find or reuse existing tags efficiently.

To Reproduce

Steps to reproduce the behavior:
1. Open the Bookmarks app
2. Add several bookmarks and assign various tags
3. Open the tag list (sidebar or tag filter view)
4. Observe that tags appear in an unorganized order (seemingly the internal ID or creation order)
5. Try to find a way to sort the tags alphabetically or by another method → not possible

Expected behavior

Users should be able to sort tags, just like bookmarks.
Ideally, the same sorting options should be available for tags:
• Alphabetically (A–Z)
• By number of assigned bookmarks (usage frequency)
• By creation date
• By last edit
• By manual order (drag & drop)

This would bring consistency and make large tag collections much easier to manage.

Screenshots

N/A – tag list is visible in sidebar and not sortable

Desktop (please complete the following information):
• OS: macOS Sequoia 15.5
• Browser: Safari 18.5 (20621.2.5.11.8)

Server (please complete the following information):
• OS: Synology DSM via Docker (Linux 4.4.302+ x86_64)
• HTTP server: nginx
• Database: MariaDB 11.4
• PHP version: 8.3.20
• Nextcloud version: 31.0.4
• Bookmarks app version: 15.1.0
• Activated Nextcloud Apps: (available if needed)
• Nextcloud configuration: (available if needed)
• External user backend: none

Additional context

This issue impacts usability, especially in larger bookmark collections.
As the tags are not sorted, users are more likely to create duplicate tags or lose track of existing ones.

The Bookmarks app is otherwise fantastic – thanks for maintaining it!

Web server error log

No errors relevant to this issue.

Nextcloud log (nextcloud/data/nextcloud.log)

No errors related to tags or Bookmarks app.

Browser log

No JavaScript errors observed in console.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions