Don't sprites have Z axes that control their visibility order when they overlap?
Or you could avoid the question entirely by drawing a new sprite of an egg peeping out of a nest,
and use an underlying model of your eggs and nests to decide which sprite to show where.
ABG