fix error when CoreStoreObject types have deep namespaces

This commit is contained in:
John Estropia
2017-05-17 15:55:33 +09:00
parent 67863120e0
commit eaf7544c50
4 changed files with 4 additions and 4 deletions

View File

@@ -983,7 +983,7 @@ extension VersionLock: CustomStringConvertible, CustomDebugStringConvertible, Co
string.append(":]")
return string
}
for (index, keyValue) in self.hashesByEntityName.enumerated() {
for (index, keyValue) in self.hashesByEntityName.sorted(by: { $0.key < $1.key }).enumerated() {
let data = keyValue.value
let count = data.count