Fixed sorting string with local characters

[#74762182}