Pergunta de entrevista da empresa CreatioSoft

WAP reverse words in sentence? "this is it" --> "it is this"