code: func sortMounts(m []container.Mount) []container.Mount {
  	sort.Sort(mounts(m))
  	return m
  }
docs: // sortMounts sorts an array of mounts in lexicographic order. This ensure that
  // when mounting, the mounts don't shadow other mounts. For example, if mounting
  // /etc and /etc/resolv.conf, /etc/resolv.conf must not be mounted first.