Sort "Existing members and groups" of project alphabetically

Problem to solve

The list of groups is not sorted and it looks messy.

Intended users

Unknown

Further details

See screenshot:

Screenshot_2019-09-13_at_09.57.41

Sorting the groups alphabetically will be helpful for group management.

This is actually caused by https://gitlab.com/gitlab-org/gitlab-ee/issues/31876 as we need to list ALL subgroups. When (and if) https://gitlab.com/gitlab-org/gitlab-ee/issues/31876 is fixed, this list will be much more easily readable.

Proposal

Collections.sort(::byName)

Permissions and Security

Unknown

Documentation

Not necessary

Testing

Unknown

What does success look like, and how can we measure that?

The list will be sorted alphabetically and easy to read.

What is the type of buyer?

Unknown

Links / references

Edited by Vojtěch Knyttl