Your tasks are grouped into task lists.
In order to better organize yourself, the drop-down menu for sorting tasks it allows you to first view some tasks according to their types or characteristics.
Project “What” view > Task list. Click the pictogram to the left of the task list name. You can then sort your tasks by name (ascending or descending alphabetical order), progress (from most advanced to least advanced, or from least advanced to most advanced), by date (from most recent to the oldest, or from the oldest to the most recent), by tag (tasks with labels before, or tasks with labels after), by member (alphabetical order ascending or descending according to the member's first name).
Note that priority tasks are not affected by these different sorting possibilities.