Cut the UCRScaledData.txt file using a period (.) as the delimiter, and output the first four fields (columns) separated by a period (.). Sort the output randomly using a period (.) as the delimiter.
cut -d',' -f1-4 --output-delimiter='.' <(sort -t '.' --random-sort UCRScaledData.txt)