I have a list of objects which contains different types of objects but a single property is common among all. list contains objects of Field class, Button Class, Page class
If there are a few classes you want to sort (Field,Button,Page...) you could do a Class that inherits from Comparator and use the java.lang.Object.getClass() and casting in an switch clasusule.
Something like:
public class MyComparator implements Comparator
And after that use:
Collections.sort(list, new MyComparator());