From aabb6f5de9201ef6d7a4c4462b8fc84afda2b3ca Mon Sep 17 00:00:00 2001 From: Daniel Skovli Date: Thu, 18 Jul 2024 10:26:12 +0200 Subject: [PATCH] Presents `Instance.Data` in chronological order --- src/Services/Storage/Implementation/DataRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Storage/Implementation/DataRepository.cs b/src/Services/Storage/Implementation/DataRepository.cs index 618b3f84..fc26b4e6 100644 --- a/src/Services/Storage/Implementation/DataRepository.cs +++ b/src/Services/Storage/Implementation/DataRepository.cs @@ -71,7 +71,7 @@ public async Task> ReadAll(Guid instanceGuid) dataElements.Add(instance); } } - return dataElements; + return dataElements.OrderBy(x => x.Created).ToList(); } public async Task ReadDataFromStorage(string org, string blobStoragePath)