On 03/04/2018 11:15 AM, R. G. Newbury wrote:
I created 4 pdf files using 'touch 123.pdf' through '126.pdf'
find . -name "*.pdf" | tail -n 2
does not 'find' the files in canonical order: it outputs 124.pdf and 126.pdf
The find command lists the files in whatever order the filesystem returns them, it does not do any sorting.