Organize caps in ascending order
This commit is contained in:
parent
e95cae79c4
commit
78254f46a5
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user