There is an organisation with several departments and each department has a few employees.
I have created the following object model:
public class O
var legalEntitiesCollectionByType = new Dictionary> { { "Institutional", organisations .Where(x => x.Type == "Institutional") .ToList() .Select(o => new Organisation{Code = x.Code,Departaments = x.Departaments.OrderBy(c => c).ToList() }).ToList() } }