From a795011d76eb06635813d4c5df6c8d411e22961c Mon Sep 17 00:00:00 2001 From: Dario Solera Date: Thu, 11 Nov 2010 06:18:24 +0000 Subject: [PATCH] Fixed potential sorting problem. --- WebApplication/AllPages.aspx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebApplication/AllPages.aspx.cs b/WebApplication/AllPages.aspx.cs index 6bfab6e..a6d36d5 100644 --- a/WebApplication/AllPages.aspx.cs +++ b/WebApplication/AllPages.aspx.cs @@ -106,8 +106,8 @@ namespace ScrewTurn.Wiki { for(int i = 0; i < cat.Pages.Length; i++) { pages[i] = Pages.FindPage(cat.Pages[i]); } + Array.Sort(pages as PageInfo[], new PageNameComparer()); } - else return new List(); } } else {