Learn sorting of Array in Java using java.util.Arrays class. Sorting of Object array, sorting of String array, sorting of int array, sorting of double array etc.
Learn Comparable vs Comparator in Java. Both java.lang.Comparable and java.util.Comparator are used to sort the list of Java custom objects in natural and custom sorting respectively.
Learn how to sort objects using comparator in Java. Example of sorting on Java.util.Date, String, integer property on asc and desc order. There are different approach to sort a list of object or List of Custom object in java.