Sort team members