Sort the roles