Organize caps in ascending order

This commit is contained in:
Christoph Hagen 2023-01-15 02:17:47 +01:00
parent e95cae79c4
commit 78254f46a5

View File

@ -172,7 +172,7 @@ final class CapServer: ServerOwner {
} }
private func organizeImages() { private func organizeImages() {
caps.values.forEach(organizeImage) caps.values.sorted().forEach(organizeImage)
} }
private func organizeImage(for cap: Cap) { private func organizeImage(for cap: Cap) {