Find all files and directories and save the output to a file called sort.log in the home directory, then sort the output in reverse order and copy all the files and directories to the home directory's backup folder.
$ find -name '*' | tee -a ~/sort.log | sort -r | xargs -I '{}' cp '{}' $HOME/backup