Sort by what? You don't say.
Let's say I have a folder (Test) of random images on my Desktop. From the Terminal command line with a Zsh shell, I can open Preview with images sorted in ascending order by name, though there are other options:
open -a Preview $(echo ~/Desktop/Test/*(.Non))
Or descending name order:
open -a Preview $(echo ~/Desktop/Test/*(.NOn))
Or limit the number of files passed to Preview. In this case, 5:
open -a Preview $(echo ~/Desktop/Test/*(.NonY5))
Another approach is to place the sorted ascending, full path image names you want into a text file that you provide as follows:
print -l ~/Desktop/Test/*.(png|tif|jpg)(.Non:a) > ~/Desktop/Test/imgList.txt
open -a Preview $(< ~/Desktop/Test/imgList.txt)
And these will open in Preview in that order sorted in the imgList.txt file.