Difficulty displaying a list in the correct order

the task is:
Import a list of names via clipboard, shuffle this list in random order and display it.
It should determine the order of the players, who starts first, second, etc.

Everything works except for the correct display after random mixing.
The namelist:


Here the event part:

The imported list looks ok:

imported list

After random:


The last entry in the original list has no new line after the random.
The debugger also shows a missing new line for James:


If I manually add a new line via the debugger, the displayed result is correct:




I have tried many things, but I cannot solve this problem.
Adding a newline at the end, a zero is displayed:

imported list newline

Thank you very much for your help