# Category Service

**URL:** <https://forum.shopware.com/t/category-service/60649>\
**Category:** Programmierung\
**Created:** [24. Juli 2019 um 20:58 UTC](https://forum.shopware.com/t/category-service/60649 "2019-07-24T20:58:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Misengo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/misengo/32/21446_2.png) [@Misengo](https://forum.shopware.com/u/Misengo)\
**Post date:** [24. Juli 2019 um 20:58 UTC](https://forum.shopware.com/t/category-service/60649/1 "2019-07-24T20:58:24Z")

</div>

Wir nutzen aktuell den Category Service, welcher wiederum das CategoryGateway nutzt - dort gibt es einen usort:

> <https://github.com/shopware/shopware/blob/406925fbb6a8e98beb94e71ceca1fd473a6edc31/engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/CategoryGateway.php#L174>

&nbsp;

Das Problem ist wenn wir eine Kategorie reingeben, wird hier teilweise&nbsp;die falsche Sortierung returned. Mit teilweise meine ich, dass ca. die Hälfte der Sortierung passt und die andere nicht. Konnte es noch nicht genauer anschauen, da die Zeit fehlt. Ist das ein Bug oder irgendeine Config in der Kategorie die ich übersehen habe?
