Describe the bug
When navigating to /tracker/calories, sometimes the oldest entry is displayed on top with the newest one on the bottom. Sometimes even the most recent one is at the top, followed by the oldest to the newer ones in ascending order.
To Reproduce
Steps to reproduce the behavior:
Log in
On the dashboard 'Average distribution' section, click on 'Show history'
See how the data is ordered
Expected behavior
The most recent entry should be on top with the rest in descending order.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Browser Firefox Version 123.0.1
Additional context
Maybe pagination would be useful especially when there's a year worth of data.
Describe the bug When navigating to /tracker/calories, sometimes the oldest entry is displayed on top with the newest one on the bottom. Sometimes even the most recent one is at the top, followed by the oldest to the newer ones in ascending order.
To Reproduce Steps to reproduce the behavior:
Expected behavior The most recent entry should be on top with the rest in descending order.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Maybe pagination would be useful especially when there's a year worth of data.