diff options
Diffstat (limited to 'viewer/src/services')
-rw-r--r-- | viewer/src/services/itemSortFn.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/services/itemSortFn.ts b/viewer/src/services/itemSortFn.ts index ec9942c..a7e0883 100644 --- a/viewer/src/services/itemSortFn.ts +++ b/viewer/src/services/itemSortFn.ts | |||
@@ -18,7 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | export default class ItemSortFn { | 20 | export default class ItemSortFn { |
21 | static sortByName(left: Gallery.Item, right: Gallery.Item): number { | 21 | static sortByNameAsc(left: Gallery.Item, right: Gallery.Item): number { |
22 | return left.title.localeCompare(right.title); | 22 | return left.title.localeCompare(right.title); |
23 | } | 23 | } |
24 | 24 | ||