Changes Applied to Asset Forms Sorting:
Null dates treated as "old" — Same logic as folders:
Old to New (ASC): Items without dates appear at the top (treated as oldest)
New to Old (DESC): Items without dates appear at the bottom (treated as oldest)
Date parsing for 12-hour format — Added support for dates with AM/PM:
"2025-11-27 11:34:51 PM" format is now correctly parsed
Added fallbacks for lowercase AM/PM and 24-hour format
The asset forms sorting now matches the folders sorting behavior:
Null dates are treated as "old" and positioned correctly based on sort order
Dates with 12-hour format (AM/PM) are parsed correctly
Both ASC and DESC sort orders work correctly with null dates
Both sorting utilities now handle null dates consistently.
Null dates treated as "old" — Same logic as folders:
Old to New (ASC): Items without dates appear at the top (treated as oldest)
New to Old (DESC): Items without dates appear at the bottom (treated as oldest)
Date parsing for 12-hour format — Added support for dates with AM/PM:
"2025-11-27 11:34:51 PM" format is now correctly parsed
Added fallbacks for lowercase AM/PM and 24-hour format
The asset forms sorting now matches the folders sorting behavior:
Null dates are treated as "old" and positioned correctly based on sort order
Dates with 12-hour format (AM/PM) are parsed correctly
Both ASC and DESC sort orders work correctly with null dates
Both sorting utilities now handle null dates consistently.
Updated on
Nov 28, 2025