Final answer:
In the Book of Jonah, God commands a fish to swallow Jonah for disobeying Him. After Jonah's prayer of repentance, God orders the fish to vomit him onto the shore, displaying divine power and mercy.
Step-by-step explanation:
The one who ordered the fish to spew Jonah onto the shore according to the Biblical narrative was God. This event is described in the Book of Jonah, where God commands a fish to swallow Jonah as a consequence of his disobedience. After Jonah prays for forgiveness, God instructs the fish to vomit Jonah out onto dry land. This episode is often interpreted as a sign of God's power and mercy.