Another attempt to fix import order
This commit is contained in:
@@ -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'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user