@Sherlock:
As عاشق correctly mentioned again, your sentence is different from your reference sentence. That sentence has a correct word order. Let me, with due respect, tell you something about the word order used after wh words. As you know, when these words are used at the beginning of the sentence to form an interrogative sentence, the word order of "subject + auxiliary verb" is reversed. For instance:
You will go to Toronto. word order: "subject + auxiliary verb + main verb"
=> Where will you go? word order: "wh- + auxiliary verb + subject + main verb"
You will go. word order: "subject + auxiliary verb + main verb"
=> What will you do? word order: "wh- + auxiliary verb + subject + main verb"
You spot that the order of subject and auxiliary verb is reversed, yet when we want to use these wh words either as a relative pronoun or as an adverb, the word order of "subject + auxiliary verb" is not changed. For instance:
I told him you will go to Toronto. word order after "him:" "subject + auxiliary verb + main verb"
=> I told him where you will go. word order after "him:" wh- + subject + auxiliary verb + main verb"
(Here where is an adverb)
I told him you will go. word order after "him:" "subject + auxiliary verb + main verb"
=> I told him what you will do. word order after "him:" wh- + subject + auxiliary verb + main verb"
You see that the word order has not changed. I hope that this has helped.