CLC-3966 CLC-3997 Integrate TA role; fix duplicate memberships

https://jira.ets.berkeley.edu/jira/browse/CLC-3966
https://jira.ets.berkeley.edu/jira/browse/CLC-3997

Explain the sort