Skip to content

Commit

Permalink
➕ sessions are now explicitly ordered
Browse files Browse the repository at this point in the history
... as the means of preparing for subsequent SQL-like "analytics" over them
  • Loading branch information
nop77svk committed Aug 19, 2022
1 parent 440d427 commit 0542dfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wtwd.cli.List/ListProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ internal static void Execute(ListConfig cli)
|| session.SessionLastStart.Event.How == PcStateChangeHow.LockOrUnlock
|| session.SessionFirstEnd?.Event.How == PcStateChangeHow.LockOrUnlock
|| session.IsStillRunning
);
)
.OrderBy(session => session.SessionFirstStart.When);

DisplayTheSessions(pcSessions, roundingInterval);
}
Expand Down

0 comments on commit 0542dfa

Please sign in to comment.