diff --git a/src/components/FileSelector.tsx b/src/components/FileSelector.tsx index b5325a7..6ab6b48 100644 --- a/src/components/FileSelector.tsx +++ b/src/components/FileSelector.tsx @@ -93,7 +93,12 @@ const FileSelector = ({ } // Sort by name - temp.sort((a, b) => a.name.localeCompare(b.name)); + temp.sort((a, b) => + a.name.localeCompare(b.name, undefined, { + numeric: true, + sensitivity: "base", + }) + ); setFiles(temp); setSelected(temp[0]);