SW-8781 - Fix category tree sorting
Merge pull request #1255 in SW/shopware from bugfix/master/sw-8781-category-tree-building-error to master

* commit 'ed9c72e01984068e9a49d19662d3d2c478943827':
  SW-8781 - Fix category tree sorting