code: func (i *imageCache) get() []container.Image {
  	i.Lock()
  	defer i.Unlock()
  	sort.Sort(sliceutils.ByImageSize(i.images))
  	return i.images
  }
docs: // get gets a sorted (by image size) image list from image cache.
  // There is a potentical data race in this function. See PR #60448
  // Because there is deepcopy function available currently, move sort
  // function inside this function