closes #492 by alphabetize sorting teams when editing an application