code: func VolumeMountMapToSlice(volumeMounts map[string]v1.VolumeMount) []v1.VolumeMount {
  	v := make([]v1.VolumeMount, 0, len(volumeMounts))
  
  	for _, volMount := range volumeMounts {
  		v = append(v, volMount)
  	}
  
  	sort.Slice(v, func(i, j int) bool {
  		return strings.Compare(v[i].Name, v[j].Name) == -1
  	})
  
  	return v
  }
docs: // VolumeMountMapToSlice returns a slice of volumes from a map's values