Find all files with the extension .jpg (case insensitive) in the current directory, sort them numerically, take the first one, and move it to the directory ~/images.
find ~ -iname '*.jpg' | sort -n | head -n 1 | xargs mv -t ~/images