Function getTagsByPopularity() created. It returns the tags, sorted by count, and then alphabetically.