Here is a tutorial on how to use the java.util.Arrays class to sort Array values.

This example sorts an Array of Integers from the smallest to largest value:


import java.util.Arrays;
...