Skip to content

Alphabetical sorting order resets from internal and external items #517

Open

Description

@nicholasgcotton

Describe the bug
Alphabetical sorting restarts, items added by docker compose label and items added by external.yaml are listed one after the other regardless of whether they are in the same or multiple groups.

Items are displayed
Docker Compose A-Z
External A-Z

Image

Expected behavior
Items should display A-Z regardless of source.
Should be

  • Plex
  • Portainer
  • Sync
  • Tautulli
  • TSDProxy
  • Wizarr

Configuration

defaultProxyProvider: default
docker:
    local:
        host: unix:///var/run/docker.sock
        targetHostname: 192.168.1.160
        tryDockerInternalNetwork: false
lists:
    external:
        filename: /config/external.yaml
        defaultProxyProvider: default
        defaultProxyAccessLog: true
tailscale:
    providers:
        default:
            authKey: [redacted]
            controlUrl: "https://controlplane.tailscale.com"
            preventDuplicates: true
            maxCertConcurrency: 10
    dataDir: /data/
http:
    hostname: 0.0.0.0
    port: 8080
log:
    level: info
    json: false
proxyAccessLog: false

Example from external.yaml

plex:
  ports:
    443/https:
      targets:
        - http://192.168.1.160:32400
  dashboard:
    visible: true
    label: "Plex - Main"
    icon: "sh/plex"
    category: "NicFlix"

Logs
Always include logs when reporting a bug.

Additional context

  • TSDProxy version: 2.3.4
  • Docker version: 4.85.05
  • OS: Ubuntu 24.04 LTS

Add any other context about the problem here.

Activity

  1. mvanhorn commented on Oct 22, 2026

    @mvanhorn
    Contributor

    The default name sort compared each proxy’s internal name. Compose entries use generated names such as stack-wizarr-1, while external entries use the config key, so those strings cluster by origin instead of by the label shown on the card.

    The default branch of sortItems now orders by a lowercased display label: Data.Label when it is set, otherwise Name. Equal labels fall back to Name.

    #549

  2. almeidapaulopt commented on Oct 23, 2026

    @almeidapaulopt
    Owner

    Root cause confirmed: the default sort compared internal proxy names, so compose names (stack-wizarr-1) and external list keys clustered by origin instead of the card label. #549 changes the sort key to the display label (case-insensitive, name as fallback/tie-break), which produces the single A–Z order you described. It's on the review list — thanks for the clear report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions