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