diff --git a/files.js b/files.js index 9e301d3..16bb534 100644 --- a/files.js +++ b/files.js @@ -136,7 +136,7 @@ var getImages = function() { }); images.sort((a, b) => { - return b.displayName < a.displayName; + return a.displayName.localeCompare(b.displayName); }); return images;