code-editor-api
Changes
Application/Helpers/SessionFiles.cs 2(+1 -1)
Details
Application/Helpers/SessionFiles.cs 2(+1 -1)
diff --git a/Application/Helpers/SessionFiles.cs b/Application/Helpers/SessionFiles.cs
index 70fe251..ec6cb1c 100644
--- a/Application/Helpers/SessionFiles.cs
+++ b/Application/Helpers/SessionFiles.cs
@@ -46,7 +46,7 @@ namespace CodeEditorApi.Helpers
res.Add(GetSession(folder));
}
- return res.ToArray();
+ return res.OrderByDescending(x => x.Timestamp).ToArray();
}
public static SessionData[] Get(Guid sessionId)