Sort tags in tag sets.