Use line break to seperate the strings you wish to sort. Due to the nature of PHP and the its lack of support for Unicode, sorting multibytes strings will not be pretty.