You can automatically sort tasks based on due date, creation date, name and more.
For example; you could sort tasks by due date and show those that are due first at the top or the other way around.
To set an "Order" rule:
Navigate to Tasks page.
Click Order from the utilities bar and select an order rule.
Then click on the Ascending or Descending icon to choose your preferred viewing order.