diff --git a/portal-impl/impl/src/java/org/sakaiproject/portal/charon/site/MoreSiteViewImpl.java b/portal-impl/impl/src/java/org/sakaiproject/portal/charon/site/MoreSiteViewImpl.java index 4ec4df9..c2a7fbb 100644 --- a/portal-impl/impl/src/java/org/sakaiproject/portal/charon/site/MoreSiteViewImpl.java +++ b/portal-impl/impl/src/java/org/sakaiproject/portal/charon/site/MoreSiteViewImpl.java @@ -122,28 +122,6 @@ public class MoreSiteViewImpl extends DefaultSiteViewImpl termsToSites.put(term, currentList); } - class TitleSorter implements Comparator - { - - public int compare(Map first, Map second) - { - - if (first == null || second == null) return 0; - - String firstTitle = (String) first.get("siteTitle"); - String secondTitle = (String) second.get("siteTitle"); - - if (firstTitle != null) - return firstTitle.compareToIgnoreCase(secondTitle); - - return 0; - - } - - } - - Comparator titleSorter = new TitleSorter(); - // now loop through each section and convert the Lists to maps for (String key : termsToSites.keySet()) { @@ -155,8 +133,6 @@ public class MoreSiteViewImpl extends DefaultSiteViewImpl .getString(Portal.CONFIG_AUTO_RESET)), /* doPages */true, /* toolContextPath */null, loggedIn); - Collections.sort(temp, titleSorter); - tabsMoreTerms.put(key, temp); }