Is it possible to sort by date and time a Payments report?
This simple report:
[Dates:5,2, 2]
{REPORT PAYMENT DETAILS:P.Type, P.Amount, P.Date.asc}
shows the dates in order but it seems to be using the dates as strings. Thus, “1/3/2020” is smaller than “29/2/2020”
I have tried to reformat the date using FD but it does not work. I guess that asc and desc are useful for grouping and sorting on numeric fields but it seems that it uses the string representation of date and time fileds which makes it useless for effective sorting
Does anyone know the correct way to sort by date and time fields?