If we do not begin a question directly, but begin it with something like:
Can you tell me...? Do you know...? I wonder if...? the word order is the same as in an affirmative statement.
Direct question: What is he doing?
Indirect question: Do you know what he is doing?
Direct question: Where have they been?
Indirect question: I wonder where they have been?