Convert images to PDF in order of filename, with text prefix and numerical suffix, such as Untitled-0.jpg, Untitled-1.jpg, etc.
ls tap1/*.jpg | sort -t- -nk2,2 | tr '\n' ' ' | sed 's/$/\ tap1.pdf/' | xargs convert