Find all files with the extension .txt in the current directory and its subdirectories, and for each file, sort the contents in reverse order.
find ~ -name '*.txt' | xargs -I fn --max-args=1 sort --reverse fn