Find all files in the current directory, execute the command 'echo' for each file, sort the output in reverse order, and then search for files with the extension '.txt'.
find ~ -exec echo {} \; | sort -r | xargs grep '\.txt'