diff --git a/src/components/folder-view.tsx b/src/components/folder-view.tsx index cd58ee18..8e724220 100644 --- a/src/components/folder-view.tsx +++ b/src/components/folder-view.tsx @@ -6,6 +6,7 @@ import { useFileOptions } from 'src/hooks/useFileOptions'; import { useFolderContent } from 'src/hooks/useFolderContent'; import { useFolderOptions } from 'src/hooks/useFolderOptions'; import { useOnDropEvent } from 'src/hooks/useOnDropEvent'; +import { sortTreeItemsByLabel } from 'src/utils'; import { twMerge } from 'tailwind-merge'; import { ContentSection } from './content'; import FileContentView from './file-content-view'; @@ -86,7 +87,7 @@ export const FolderView: React.FC = ({ )} > + a.label.localeCompare(b.label);