summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/gitblit/wicket/pages/ProjectsPage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/ProjectsPage.java b/src/main/java/com/gitblit/wicket/pages/ProjectsPage.java
index f04fa78a..132a39dd 100644
--- a/src/main/java/com/gitblit/wicket/pages/ProjectsPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/ProjectsPage.java
@@ -15,6 +15,7 @@
*/
package com.gitblit.wicket.pages;
+import java.util.Collections;
import java.util.List;
import org.apache.wicket.PageParameters;
@@ -69,6 +70,7 @@ public class ProjectsPage extends RootPage {
}
List<ProjectModel> projects = getProjects(params);
+ Collections.sort(projects);
ListDataProvider<ProjectModel> dp = new ListDataProvider<ProjectModel>(projects);