can anybody solve my problem?
1. Write a program to sort a list of words and sort a list of numbers.
Input can be read from Command prompt or a file.
2. Write a program to store a set of telephone numbers in a text file and display them in ascending order based on the user's input.
Each time the program is invoked, store the numbers in a text file & each time the phone numbers should get appended to the initial content of that text file.
Provide a command prompt menu for the user to either store or view the phone numbers.
Also perform validation of the input provided by the user to ensure that they enter valid phone numbers.