Compare the revealed cards to the creature as it last existed before it was sacrificed, not to the creature card as it exists in its owner's graveyard, to determine which card from your library you put onto the battlefield.