diff --git a/src/lib/upload/index.ts b/src/lib/upload/index.ts index 68a4607..8f21324 100644 --- a/src/lib/upload/index.ts +++ b/src/lib/upload/index.ts @@ -101,6 +101,7 @@ export async function processFiles(_files: File[]) { const volumes: Record = {}; const mangas: string[] = []; + const files = _files.sort((a, b) => { return decodeURI(a.name).localeCompare(decodeURI(b.name), undefined, { numeric: true,