Date column not sorting coorrectly

Sort by date doesn’t function properly. For today’s items with no date on them they end up in the middle of the list instead of at the top. Needs code reworked. Here is a snippet of VB.Net code that shows how to format a date so that they are uniform.

myDate = FormatDateTime(myDate, DateFormat.GeneralDate)

There may be something like this in the language that you are using.

can you send a screenshot please?