How to sort Hashset<MyBean> : I have a `Set<MultiAdminComponent> rootItems = new HashSet<>();`HashSet.
In this I have all my[ Screen.][1]

In my `HashSet` I am going to have all my rows. I want to sort the `MultiAdminComponent` based on `rowId`. 


**This is MultiAdminComponent**

   

     public class MultiAdminComponent {
        	
        	private String componentName;
        	private String componentIdentification;
        	private String componentType;
        	private String componentState;
        	private String componentUrl;
        	private String componentId;
        	private String rowId;
        	private List<MultiAdminComponent> items;
        	private int componentStateId;
        	private int ctastatus;
        	private String actionId;
        	private String actionToPerform;
        	private int orderNumber;
        	private int ctarevision;
        	


  [1]: https://plnkr.co/edit/XgfuZho0E8Gi5d1CbOrH?p=preview

How can I sort based on RowId in `MultiAdminComponent` bean