Sort the String of ArrayList.