We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug We sort stories with Array.prototype.sort() which isn't guaranteed to be stable (as per JS spec).
Array.prototype.sort()
For example in v8 < v7 (Chrome <70, Node <12 (?)) sorting was not stable: https://v8.dev/blog/array-sort
To Reproduce
In theory the order should be wrong in Chrome 69 also but I haven't yet been able to reproduce.
Expected behavior The stories should stay in order.
The text was updated successfully, but these errors were encountered:
Use the stable package to ensure story sorting is stable.
stable
ee614e8
Fixes #8792
Good golly!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.0-alpha.44 containing PR #8795 that references this issue. Upgrade today to try it out!
You can find this prerelease on the @next NPM tag.
@next
Sorry, something went wrong.
Whoopee!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.2.8 containing PR #8795 that references this issue. Upgrade today to try it out!
Successfully merging a pull request may close this issue.
Describe the bug
We sort stories with
Array.prototype.sort()
which isn't guaranteed to be stable (as per JS spec).For example in v8 < v7 (Chrome <70, Node <12 (?)) sorting was not stable: https://v8.dev/blog/array-sort
To Reproduce
In theory the order should be wrong in Chrome 69 also but I haven't yet been able to reproduce.
Expected behavior
The stories should stay in order.
The text was updated successfully, but these errors were encountered: