An Array is a common data structure in many languages. It is simple and easy to understand, hence it is commonly used in many situations. However, it is very common requirement to sort a an array or a collection of objects to ensure elements are in specific order (E.g. increasing order of value). If you need to learn how to perform this operation, below are some examples on how to Sort an Array in Java.