I use this command to find all the file in a directory that contains a specific string:
grep -lir "string" path_to directory
grep -lir "users" /var/www/mysite
This command displays all files in the specified directory that contain the string 'users'. However, I want to sort them by descending modification date; newest to the oldest.