The quickest way into this jumble is the last sentence, which is already fixed: "he shook the foundation of the British rule in India through non-violence." That "he" has to be Gandhi, because he is the only one of the three figures mentioned who confronted the British. Sentence v is the one that names Gandhi, so v must be the fourth and final middle sentence. That single deduction leaves only one workable option.
The whole paragraph reads: "India's message has always been one of love and peace. It has been a source of light and wisdom to the rest of the world. Our Buddha was the light of Asia. Ashoka, moved by the horrors of Kalinga War, adopted the message of non-violence. The greatest apostle of non-violence in recent years was Mahatma Gandhi. He shook the foundation of the British rule in India through non-violence."
Let's summarize:
The middle sentences run iii, ii, iv, v, so option (D) is correct.