yournextrepresentative
yournextrepresentative copied to clipboard
the photo review date column sorts on day/month, but not year

I think the issue is that the dates are sorted alphabetically. Hence in the example above Feb < June < May.
Maybe it's a localisation issue, but I'm seeing dates in the format "16 March 2023" in this table (D/M/Y). Which means that when I sort by Election Date, I currently see the following order 16 March 2023 < 16 September 2021 < 2 March 2023 < 4 May 2023 < 5 May 2016.
Related to https://github.com/DemocracyClub/yournextrepresentative/pull/1942