1. Write a c++ code that saves strings from the "names" array into a text(.txt) file in ascending alphabetical order.
Finally the program should display everything saved in the text file back into the command line. Every full
name must start in a new line. Your code must declare at least one function other than the main.