Sorting not working

Hi, why is this sorting not working ? Datum is a real field in the database (datetime)!

SELECT date_format(Datum,“%d-%m-%y”) as “Date”, Cum_bl_L_u as “Cum BL Labor Units”, Cum_actual_l_u as “Cum Actual Labor Units” FROM xxxx.xxxx ORDER BY datum desc

Thanks in advance

You need to provide reproducible example first. It is not clear WHERE in Grafana that sorting is not working.

You are right, there was a typo.