Well, There are different ways you can sort your different types of array , i.e. whether
int , byte, sort, String or any anoher type of
array (custome java object array). In this post, I tried to demonstrate primitive types array sorting by using in-built utility tool i.e.
java.util.Arrays class. Or if you have primitive types of array of string, then how can you sort by using
java.util.Arrays utility class in java.
Continue reading Sorting of Array using java.util.Arrays in java
Both the interfaces
java.util.Comparator are used to sort the list of Java Custom objects.
Continue reading Comparable vs Comparator in java
There are different approach to sort your custom object or List of Custom object in java. First of all, we have to understand what things we have to sort.
Continue reading How to Sort Objects By Using Comparator in Java