prantlf / storybook-multilevel-sort

Applies specific sort order to more than two levels of chapters and stories in Storybook.
https://storybook.js.org/addons/storybook-multilevel-sort/
Other
8 stars 4 forks source link

Sorting does not work correctly when autodocs is set to 'tags' #12

Open SpaNb4 opened 8 months ago

SpaNb4 commented 8 months ago

When autodocs uses the default value ('tags'), groups with stories that have tags: ['autodocs'] are sorted above other groups, ignoring the order specified in storyOrder.

To reproduce: Make the following changes: Header.stories.js: image

Main.js image

Expected result: Articles Elements Components

Actual result: Articles Components Elements