diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 22:05:44 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 22:06:05 -0300 |
commit | 304984c43f86e80c85474c14ad5aa4fa9f82a61e (patch) | |
tree | 8ce02fcbeed7d764335bdbf17708429f35f3d868 /src/util | |
parent | 4f91ee5bb770c11435e501dceb7db62991ce66af (diff) |
sort: sortFlashesChronologically: sort acts alphabetically
See issue #323.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/sort.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/sort.js b/src/util/sort.js index b3a90812..9e9de641 100644 --- a/src/util/sort.js +++ b/src/util/sort.js @@ -388,7 +388,8 @@ export function sortFlashesChronologically(data, { getDate, } = {}) { // Group flashes by act... - sortByDirectory(data, { + sortAlphabetically(data, { + getName: flash => flash.act.name, getDirectory: flash => flash.act.directory, }); |