I have 2 columns of a table that contains dates and sales numbers as follows:

When you right-click → Format Cells, the values in the Dates column are correctly displayed as Date (in the format M/D/YYYY ). This applies to all Dates cells except for the title (I checked Ctrl + Shirt + Down).
However, when I create a pivot table of 2 columns, the Dates are recognized as text and sorted accordingly (i.e. the 1st is sorted by month, then by day, then by year), which spoils my data:

I regularly create pivot tables with this data type, and I have never had this problem before, and I really don’t see what is wrong there.
How to make date values be recognized as such when creating pivot tables?
PS: I downloaded the pivot_table_date_porder_issue.xlsx file which is a problem for those who want to see this.
source share