public List<CatalogCategoryMaster> getSortedChildCatalogCategories() {
List<CatalogCategoryMaster> sortedCatalogCategories = null;
if (catalogCategories != null
&& Hibernate.isInitialized(catalogCategories)) {
sortedCatalogCategories = new LinkedList<CatalogCategoryMaster>(catalogCategories);
Collections.sort(sortedCatalogCategories, new CatalogCategoryMasterComparator());
}
return sortedCatalogCategories;
}