I have a problem. The problem is that I want to sort dates in descending order, but the date needs to be formatted.
The issue is that when I sort it after being formatted it is sorted on a string or varchar basis, which does not sort correctly according to the dates.