code: func tagsFromLabels(labels map[string]string) []*cloudformation.Tag {
  	tags := cloudformationTags{}
  	for k, v := range labels {
  		tags = append(tags, &cloudformation.Tag{Key: aws.String(k), Value: aws.String(v)})
  	}
  	sort.Sort(tags)
  	return tags
  }
docs: // tagsFromLabels generates a list of CloudFormation tags from the labels, it
  // also sorts the tags by key.