I seem to be having trouble with sorting a string array on Linux. This command
myStringArray.Sort
works fine on Mac OS, but the items are unordered if the code runs on my Ubuntu machine. A locale issue maybe?
Here is the output of the locale command (Ubuntu 14.04)
r# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE=UTF-8
LC_NUMERIC=“de_DE.UTF-8”
LC_TIME=de_DE.UTF-8
LC_COLLATE=“de_DE.UTF-8”
LC_MONETARY=“de_DE.UTF-8”
LC_MESSAGES=“de_DE.UTF-8”
LC_PAPER=“de_DE.UTF-8”
LC_NAME=“de_DE.UTF-8”
LC_ADDRESS=“de_DE.UTF-8”
LC_TELEPHONE=“de_DE.UTF-8”
LC_MEASUREMENT=“de_DE.UTF-8”
LC_IDENTIFICATION=“de_DE.UTF-8”
LC_ALL=
Any known remedies?
Best, Max