Find all files with the extension ".php", sort them randomly, and replace all occurrences of the word "Blue" with the word "Green" in each file.
find -name "*.php" | sort -R | xargs sed -i 's/\sBlue\s/\sGreen\s/g'