Content Types should be sorted by SortOrder and then Alphabetically

Fixed in

EPiServer.CMS.Core 11.20.0


Sep 09, 2020


Oct 08, 2020


CMS Core


Closed, Fixed and tested


Steps to reproduce:

  1. Create few page types with same order. CPage1, BPage2, APage1
  2. Go to Edit Mode and click New Page

Expected: Pages should be sorted Alphabetically.

Probably can be implemented as:

Unable to find source-code formatter for language: csharp. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
.OrderBy(c => SortByGroupDefinition(c)).ThenBy(ct => ct.SortOrder).ThenBy(ct => ct.Name)