RED-9151: change text ordering to rendering order of the text Closes RED-9151 See merge request redactmanager/red-ui!418