diff --git a/MIGRATION.md b/MIGRATION.md index 827dd41b396d..456b977cb012 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -107,7 +107,7 @@ This isn't a breaking change per se, because `addon-docs` is a new feature. Howe ### storySort option -In 5.0.x the global option `sortStoriesByKind` option was [inadverttly removed](#sortstoriesbykind). In 5.2 we've introduced a new option, `storySort`, to replace it. `storySort` takes a comparator function, so it is strictly more powerful than `sortStoriesByKind`. +In 5.0.x the global option `sortStoriesByKind` option was [inadvertently removed](#sortstoriesbykind). In 5.2 we've introduced a new option, `storySort`, to replace it. `storySort` takes a comparator function, so it is strictly more powerful than `sortStoriesByKind`. For example, here's how to sort by story ID using `storySort`: