Search recursively in the /etc/hosts file for lines that do not match a pattern of two or more alphanumeric characters and sort the output by the third column.
grep -rvE "([a-zA-Z0-9]{2,})" /etc/hosts | sort -k3,3