Index: lams_bb_integration/web/links/monitor.jsp =================================================================== diff -u -rbbd946d0a18f784ff7f72d0cebaaa3828980dfd0 -r4265110d294b2209f343733d3770a28e9ec7d7b1 --- lams_bb_integration/web/links/monitor.jsp (.../monitor.jsp) (revision bbd946d0a18f784ff7f72d0cebaaa3828980dfd0) +++ lams_bb_integration/web/links/monitor.jsp (.../monitor.jsp) (revision 4265110d294b2209f343733d3770a28e9ec7d7b1) @@ -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