You can organize tasks hierarchically.
To create a subtask just click on Add in an existing task in the Subtasks section.
You can represent your subtasks hierarchically in the task summary by clicking on Options -> Add column Parent Task -> Apply. Afterwards just click on the table heading Parent Task to sort by this criterion.