sort jawns

This commit is contained in:
Nick Pegg 2025-05-07 21:34:53 -07:00
parent 933f179328
commit aca297e7de

View file

@ -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.