Hi @Leonarce, thanks for reaching out and sorry for the trouble here!
When you sort you tasks by due date, it only sorts in one direction - oldest (top) to newest (bottom). This is currently the expected behaviour rather than a Bug.
I completely understand your point and I’m sorry to hear this is inconvenient for your workflow. There is an existing thread requesting this functionality. In case you haven’t yet, I would recommend you to upvote it: Sort by Due Date - ascending or descending option
Please let me know if there is anything else I can help you with!