Thank you Vietnh,
Your solution has solved the problem of reversing the orientation of the text. Would it be possible to have the line numbers for your solution.
It would seem that I did not place all the codes in the right places to have the order of the modules according to the RTL orientation.
I am using the latest version of the template, and it would be a good idea to include your solution in a new version.
I noticed that the problem of the template that does not reverse arises for the demo of the template in your site.