sort jawns
This commit is contained in:
parent
933f179328
commit
aca297e7de
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ impl AlbumDir {
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: sort children and albums alphabetically
|
||||
children.sort_by_key(|c| c.path.clone());
|
||||
images.sort_by_key(|i| i.path.clone());
|
||||
|
||||
// Find a cover image if we didn't have an explicit one. Either the first image, or the
|
||||
// first image from the first album that has a cover.
|
||||
|
|
Loading…
Add table
Reference in a new issue