Index: lams_bb_integration/web/links/monitor.jsp =================================================================== diff -u -r19533db96ca9329f6c23dd8551bedbf31f2764bf -r96fdd34b6349ec748fc6080c3c688b63e20d411e --- lams_bb_integration/web/links/monitor.jsp (.../monitor.jsp) (revision 19533db96ca9329f6c23dd8551bedbf31f2764bf) +++ lams_bb_integration/web/links/monitor.jsp (.../monitor.jsp) (revision 96fdd34b6349ec748fc6080c3c688b63e20d411e) @@ -40,8 +40,21 @@ if (f.getIsFolder()) { - BbList cList = cLoader.loadChildren(f.getId()); - Content[] cArray = (Content[]) cList.toArray(new Content[0]); + BbList cList = cLoader.loadChildren(f.getId()); + Content[] cArray = cList.toArray(new Content[0]); + //sort content by title + Arrays.sort(cArray, new Comparator() { + @Override + public int compare(Content o1, Content o2) { + if (o1 != null && o2 != null) { + return o1.getTitle().compareToIgnoreCase(o2.getTitle()); + } else if (o1 != null) + return 1; + else + return -1; + } + }); + String title = f.getTitle(); if (title.indexOf("'") != -1) { title = title.replace("'", "\\'"); @@ -165,6 +178,36 @@ + \ No newline at end of file