I have a string wit a following content, delimited by semicolons:
echo $content
BCS3;BCS2;DigitalIO;GAElectricDrive;J1939;SKF15;UBloxGNSS;VIMS
Perhaps my question is noob, but I cannot figure out, how to sort this values alphabetically, e.g. I want to receive following output(first and second elements are not in alphabetical order):
BCS2;BCS3;DigitalIO;GAElectricDrive;J1939;SKF15;UBloxGNSS;VIMS