Hi there,
If i have an array of strings for example
Static final String[] TEST = new String[] {
"g","a","b","t","e" };
How would i go about sorting this in alphabetical order please?
Hi there,
If i have an array of strings for example
Static final String[] TEST = new String[] {
"g","a","b","t","e" };
How would i go about sorting this in alphabetical order please?
Another example.
static final String[] TEST = "gabte".split("");
static {
Arrays.sort(TEST);
}