Not a problem here because 'ls' will put a newline rather than spaces when writing to a pipe. E.g.:
$ touch b.pdf p575.pdf && ls -t *.pdf | head -2
b.pdf
p575.pdf

and

$ ls -t *.pdf > abc && cat abc
b.pdf
p575.pdf