implemented alphabetizing