Use the max date when sorting DESC
Use the max date when sorting DESC

This fixes a problem with DESC ordering that was done on the minimum date.

alexbirukov/datetime,alexbirukov/datetime,alexbirukov/datetime