Sorting by time makes me think that you might be able to use the Computed Pattern on older data. Also look at

For example, in accounting it is pointless to recompute every time account totals for months or years that are closed because those totals won’t change anymore. In January 2025 you would not be adding transactions for December 2024 and for the whole 2024 year. So you compute and store the totals at month’s and year’s closing. You probably already do those computations to produce an account statement, the extra steps to store them have less impact that computing anew every time you have to go back.

The performance issue is that most likely that the old transactions documents are not part of the current working set anymore so you have to read them for storage.