[FE] Roles and Permissions - determine the order the permissions should be shown in

Background

On the Roles and Permissions page, a list of permissions is shown when creating a new role. Now that we've switched to pulling the available permissions from GraphQL instead of hard-coding them, the order of the permissions is now listed in alphabetical order:

Before GraphQL After GraphQL
ksnip_20231106-132811 ksnip_20231106-142236

This means that permissions that were previously listed in a more logical order, for example read permissions listed first, Read vulnerability followed by Admin vulnerability, and miscellaneous permissions behind feature flats listed last, are now in alphabetical order. We should decide if and how we want to order the vulnerabilities.

Proposal

Edited by 🤖 GitLab Bot 🤖