Console application written in javascript which will sort a list of names alphabetically by last name, then by any given names starting from the first name.
Download the executable: here
Please follow the following steps in order to run the application:
- In the terminal, navigate to where the 'name-sorter' executable has been downloaded
- Ensure that the .txt file containing the list of unsorted names is located in the same directory
- Run the following command
./name-sorter <file-name>.txt- (replace 'file-name' with the name of your file) - If you encounter a permission error, please change the file permissions by running
chmod +x name-sorterin the terminal