val imageCountComparator: Comparator<Sone> =
comparing<Sone, Int> { it.rootAlbum.allImages.size }.reversed()
+
+val Sone.allAlbums: List<Album>
+ get() =
+ rootAlbum.albums.flatMap(Album::allAlbums)
+
+val Sone.allImages: Collection<Image>
+ get() =
+ rootAlbum.allImages