Order link children by their position

This fixes an issue where links in deeper levels of the navigation tree aren't ordered by their position.
Merge pull request #3341 from NicolasSchneider/2.3/develop

Order link children by their position