code: func sortEmailNotify(en []EmailNotify) {
  	sort.Slice(en, func(i, j int) bool {
  		first := en[i]
  		second := en[j]
  		emailResult := strings.Compare(first.Email, second.Email)
  		if emailResult == 0 {
  			return strings.Compare(first.Template, second.Template) < 0
  		}
  		return emailResult < 0
  	})
  }
docs: // sortEmailNotify sorts a list of EmailNotify by Email, then Template.