Updates to alphabetize, sort, and custom label alrorithm