Find all files in the current directory and its subdirectories, sort them, and display the first 5 lines that contain the word "example".
find ~ -type f -name "*.*" -exec grep "example" {} \; | sort | head -n 5;