I'm using froala editor to send messages from my webpage to client side, when sending the message all in English or all in Arabic there is no problem, but when I write a message consists of a combined Arabic & English text it changes the order of the sentence written, for example:
The sentence I wrote:
ونتمنى لكم دراسة سعيدة Developer School أهلا بكم في مدرسة
The sentence generated:
أهلا بكم في مدرسة Developer School ونتمنى لكم دراسة سعيدة
keeping in mind that when writing the message in froala editor it doesn't give the feeling that anything is wrong and it shows what I'm actually writing in a correct format, but after submitting and getting the message out, that's what I'm getting.