Skip to content

Commit

Permalink
Presents Instance.Data in chronological order (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielskovli authored Aug 22, 2024
1 parent 26ff66b commit 32ec88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/Storage/Implementation/DataRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public async Task<List<DataElement>> ReadAll(Guid instanceGuid)
dataElements.Add(instance);
}
}
return dataElements;
return dataElements.OrderBy(x => x.Created).ToList();
}

public async Task<Stream> ReadDataFromStorage(string org, string blobStoragePath)
Expand Down

0 comments on commit 32ec88a

Please sign in to comment.