I've identified a bug in the way dates are sorted in our production schedule view. Problem Description: When attempting to sort production orders by the "START DATE" or "DUE DATE" columns, the sorting logic appears to be text-based (alphabetical) rather than chronological. This results in an incorrect order that does not reflect the actual timeline. Steps to Reproduce: Navigate to the production schedule for any machine (e.g., Machine: WP-0001). Click the sort arrow on the "START DATE" column header. Observe the resulting order of the entries. Expected Behavior: The production orders should be sorted chronologically. For example, an ascending sort should list them from the earliest date to the latest date (e.g., 16/09, 23/09, 29/09). Actual Behavior: The list is sorted as if the dates were text strings. As shown in the attached screenshot, the order is 29/09, 16/09, 23/09. This is because the system is sorting by the first digit of the day ('1', then '2'), instead of the value of the entire date. Thank you for your assistance.
Show More