Added option to sort the file names before return.

In the method get_all_file_names_from_dir.