I need to sort a list of first and last names from shortest to longest.
for example:
[John Doe, Jane Smith, Jane Doe]
I have to write a function to find the longest name but noe sure how to do it!
for example:
[John Doe, Jane Smith, Jane Doe]
I have to write a function to find the longest name but noe sure how to do it!
Comment