Create a bunch of tasks for a user and change their individual due dates in whatever ways you see fit. Then, on another regular user, give them a few flags/discussions, preferably with a task with a due date somewhere in between the range of the flagged user's tasks.
Login as that user and confirm that their tasks appear ordered from soonest due to latest, including the task in which they were flagged.
What does this PR do?
Fixes task order due date.
Related JIRA tickets:
INBA-929.
How should this be manually tested?
Create a bunch of tasks for a user and change their individual due dates in whatever ways you see fit. Then, on another regular user, give them a few flags/discussions, preferably with a task with a due date somewhere in between the range of the flagged user's tasks.
Login as that user and confirm that their tasks appear ordered from soonest due to latest, including the task in which they were flagged.
Background/Context
Screenshots (if appropriate):