|Jira Agile 6.3
Sub-tasks displayed on the Planning Board are not under the parent task.
The context is not using the 'Ranking' field to sort the cards.
Using a JIRA Agile ranking field in the context as the Sort By will display the sub-tasks under their parent tasks. See here for more information.