We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b31563 commit 08fa280Copy full SHA for 08fa280
packages/astro-content-devtools/src/components/panels/CollectionsPanel.tsx
@@ -13,8 +13,7 @@ export const CollectionsPanel: Component = () => {
13
const { collections } = useDevtools()
14
const { collectionName, setCollectionName } = useSelection()
15
16
- // TODO(HiDeoo) sort
17
- const collectionNames = Object.keys(collections)
+ const collectionNames = Object.keys(collections).sort((a, b) => a.localeCompare(b))
18
19
return (
20
<Panel name="collections">
0 commit comments