Hi Everyone,
Good day!
I would like to ask for your help how to solve this issue. I use Sort Filter function. The date is sorting correctly but the time, AM and PM was not sorting properly.
DateTimeValue(NewIncidentDate) >= DatePicker_StartDate.SelectedDate &&
DateTimeValue(NewIncidentDate) <= DatePicker_EndDate.SelectedDate
The output is:

I found also if you add "0" or 0 example on time like 3:28 to 03:28 the time sorts properly. But how to achieve this?
It should have time 7/1/2022 1:45 AM, 7/1/2022 2:00 AM, 7/1/2022 3:28 AM, 7/1/2022 10:00 should be the proper order.
Thanks in advance for your help.