Sort the strings