Find all files with the extension ".log" in the "/data" directory, then search for the word "error" in each file and display the line number and file name for each occurrence, sorted by line number in descending order.
find /data -type f -name "*.log" | xargs grep -Hn "error" | sort -nrk 2