Find all regular files with '.jpg' (case insensitive) extension, sort them by name, print the output  and also save the list to file 'file_list.txt'
find . -type f|grep -i "\.jpg$" |sort| tee file_list.txt