alphabetizing resource names