Sort the tag list