sort array in descending order using arrays.sort code example
Example: java sort method
Arrays.sort();//this method is an inbuild function in java
//to sort the array
Arrays.sort();//this method is an inbuild function in java
//to sort the array