diff --git a/scripts/buildApiDocs/buildReference.ts b/scripts/buildApiDocs/buildReference.ts index 621928eada..ccead4ff8a 100644 --- a/scripts/buildApiDocs/buildReference.ts +++ b/scripts/buildApiDocs/buildReference.ts @@ -93,7 +93,7 @@ export async function buildReference() { const json: ComponentDef = { name: componentData.name, description: descriptionData.componentDescription, - props, + props: Object.fromEntries(Object.entries(props).sort()), dataAttributes, cssVariables, };