Roles Header name in Permissions Table is not sorted alphabetically

Description

The Roles header names in the permissions table are not sorted in alphabetical order. Is this a bug? Additionally, if the number of roles increases, the lack of alphabetical sorting can make it difficult to manage and locate specific roles efficiently.

Steps to reproduce:

  1. Navigate to AdministrationWorkspace.
  2. Go to Permissions.
  3. Observe that the roles names are not listed alphabetically.

Server Setup Information

  • Version of Rocket.Chat Server: 7.2.0-develop
  • Operating System: Linux
  • Deployment Method: cloned Repo
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 20.18.0
  • MongoDB Version: 7.0.5 / wiredTiger (oplog Enabled)
  • Proxy:
  • Firewalls involved:

It isn’t specifically a bug.

It works without errors, but not the way you want it too.

Which means it is a NFR.

Search github for existing issues before opening anything.