diff --git a/tailbone/views/users.py b/tailbone/views/users.py index d9815f50..1fb1250d 100644 --- a/tailbone/views/users.py +++ b/tailbone/views/users.py @@ -386,7 +386,7 @@ class UserView(PrincipalMasterView): return six.text_type(name) def render_roles(self, user, field): - roles = user.roles + roles = sorted(user.roles, key=lambda r: r.name) items = [] for role in roles: text = role.name