Contributions 1 min read

# Classification store groups sorter fix

Another Pimcore bug has just been fixed! Check out how Dino, our Pimcore developer, solved this classification store issue!

Last updated on 24 September, 2021

## Key takeaways

1. The sorter defined for groups in a Pimcore classification store collection was not applied when the collection was added to an object.
2. A Factory developer fixed this by passing the sorter to JavaScript and applying it when a new collection is added.
3. The fix gives Pimcore users a more reliable experience when working with classification stores.

## **What was the issue?**

When creating new classification store collections and adding groups to collections, there is an option to define a sorter for every group inside the collection. That sorter option wasn’t initially applied when a new classification store collection was added to the object.

## **How did you solve it?**

I passed that sorter to Javascript and applied it when a new classification store collection is added to the object.

## **Why is this fix important?**

This is important because it fixes a bug and now Pimcore users will have a better experience when using classification stores.

## **How does it feel to contribute to a platform such as Pimcore?**

It’s always challenging to debug something so when you manage to fix something on a platform like Pimcore it always feels cool.

And if you want to check out this [pull request](https://github.com/pimcore/pimcore/pull/10296), just follow the link!

## Related

[Contributions **Fixing the invisible field inside block element** Another Pimcore fix is coming straight from Factory! Our Pimcore developer, Dino, recently fixed the issue related to invisible fields inside block elements. Visit us and read more… 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/fixing-the-invisible-field) [Contributions **Unit listing – missing condition variables fix** Check out one of our latest pull requests submitted by our Pimcore developers! 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/unit-listing-missing-condition-variables-fix) [Contributions **Option to allow free input in select editable** More power is given to the developers through this fix. Now, it's up to them allow editors even more freedom when working in Pimcore. Find out what's new. 1 min read](https://factory.dev/pimcore-knowledge-base/contributions/free-input-select-editable)

---

Source: https://factory.dev/pimcore-knowledge-base/contributions/classification-store-groups-sorter-fix
