450 - Little Black Book


Difficulty : easy

Solution Description :

ad hoc sorting problem

1. Read the input.
2. Tokenize/parse the input by coma(,) and put each part(token) into appropriate place.
3. Sort the all input by last name. (You can use bubble sort algorithm).
4. Output all sorting data using the given format.