Another attempt to fix import order

This commit is contained in:
ZXY101
2024-01-30 10:27:34 +02:00
parent 14d0043bb7
commit dd881da036

View File

@@ -101,8 +101,9 @@ export async function processFiles(_files: File[]) {
const volumes: Record<string, Volume> = {}; const volumes: Record<string, Volume> = {};
const mangas: string[] = []; const mangas: string[] = [];
const files = _files.sort((a, b) => { const files = _files.sort((a, b) => {
return a.name.localeCompare(b.name, undefined, { return decodeURI(a.name).localeCompare(decodeURI(b.name), undefined, {
numeric: true, numeric: true,
sensitivity: 'base' sensitivity: 'base'
}); });