Fixed roles sort order

Invite a new user popup roles drop down is now sorted by permission
level. Fixes #3391