Assume I have 3 folders in different directories, some of them containscontaining some more subfolders, and in each folder/subfolder I have a text filefiles named test1, test2, test3 etc..., which containscontain the string hello in some way. It can be just hello, it can be helloJASKFNASKFN and etc.
How can I display a sorted list of those files, say? Say I want to sort by their names, or by the modified date. I do understand that I can use the grep or find command to search and display those files, but ImI'm not sure how can I display them in a sorted way.