mirror of
https://github.com/sigmasternchen/tagify
synced 2025-03-15 07:08:55 +00:00
feat: order files for query
This commit is contained in:
parent
1339ac275c
commit
3dfa062cb9
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ export class Database {
|
|||
}
|
||||
|
||||
public query(): Query {
|
||||
return new Query(this.files)
|
||||
return new Query(this.files.sort((f1, f2) => f1.compareTo(f2)))
|
||||
}
|
||||
|
||||
public addDirectory(path: string) {
|
||||
|
|
Loading…
Reference in a new issue