diff --git a/src/components/Dropdown/index.tsx b/src/components/Dropdown/index.tsx index ab9bd641..e11592f3 100644 --- a/src/components/Dropdown/index.tsx +++ b/src/components/Dropdown/index.tsx @@ -1,5 +1,5 @@ import { Select } from "antd"; -import { map } from "lodash-es"; +import { map, sortBy } from "lodash-es"; import { Dictionary, RecipeManifest } from "../../types"; interface DropdownProps { @@ -15,13 +15,14 @@ const Dropdown = (props: DropdownProps): JSX.Element => { label: opt.displayName || key, value: opt.recipeId, })); + const sortedOptions = sortBy(selectOptions, "label"); return (