Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/StochasticSoilModelEntityReadExtensions.cs =================================================================== diff -u -r508d720230c5f63bce7f95bddc3b7a04808d267d -r61af2d41d88907e33ced4083ec53c2327718fd9a --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/StochasticSoilModelEntityReadExtensions.cs (.../StochasticSoilModelEntityReadExtensions.cs) (revision 508d720230c5f63bce7f95bddc3b7a04808d267d) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/StochasticSoilModelEntityReadExtensions.cs (.../StochasticSoilModelEntityReadExtensions.cs) (revision 61af2d41d88907e33ced4083ec53c2327718fd9a) @@ -20,6 +20,7 @@ // All rights reserved. using System; +using System.Linq; using Application.Ringtoets.Storage.BinaryConverters; using Application.Ringtoets.Storage.DbContext; @@ -66,7 +67,7 @@ private static void ReadStochasticSoilProfiles(this StochasticSoilModelEntity entity, StochasticSoilModel model, ReadConversionCollector collector) { - foreach (var stochasticSoilProfileEntity in entity.StochasticSoilProfileEntities) + foreach (var stochasticSoilProfileEntity in entity.StochasticSoilProfileEntities.OrderBy(ssp => ssp.Order)) { model.StochasticSoilProfiles.Add(stochasticSoilProfileEntity.Read(collector)); }