It is said in the question "Make sure the strings are sorted in your result". On


#1

It is said in the question “Make sure the strings are sorted in your result”. On what basis do we need to sort them?


#2

Sort them lexicographically. Normal string comparison. Default sort.