From 4c7cd86da26957957a326b285921a92e0c54382b Mon Sep 17 00:00:00 2001 From: Kevin LaBranche Date: Thu, 9 Dec 2010 08:01:02 -0700 Subject: [PATCH] WorkItem 16992 - Content Types are now in Alpha Order like Content Parts. --- .../Orchard.ContentTypes/Services/ContentDefinitionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Services/ContentDefinitionService.cs b/src/Orchard.Web/Modules/Orchard.ContentTypes/Services/ContentDefinitionService.cs index 9c3d936af..7cea10b4f 100644 --- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Services/ContentDefinitionService.cs +++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Services/ContentDefinitionService.cs @@ -38,7 +38,7 @@ namespace Orchard.ContentTypes.Services { public Localizer T { get; set; } public IEnumerable GetTypes() { - return _contentDefinitionManager.ListTypeDefinitions().Select(ctd => new EditTypeViewModel(ctd)); + return _contentDefinitionManager.ListTypeDefinitions().Select(ctd => new EditTypeViewModel(ctd)).OrderBy(m=>m.Name); } public EditTypeViewModel GetType(string name) {