Sorting array of object

is there any other method like “Arrays.sort(arr)” to achieve this

@neelesh_garg
Collections.sort() works for objects Collections like ArrayList and LinkedList
Arrays.sort(arr, 1, 5) can be used to sort a subarray
descending order can be done with the help of Collections.reverseOrder().

but if u want to custom sort like for cars or dates u have to write your own generic sort functions