Java array sorting: How to sort a Java String array
Java array FAQ: Can you share an example of how to sort a Java String
array?
Sure. The following source code shows how to sort an array of strings. In short, you can easily sort a string array with the Arrays class sort
method, shown in bold below: