Fix kio sorting for files with more than 9 Resources

This commit is contained in:
Phillip Wittrock
2020-01-03 12:33:28 -08:00
parent 2c8736ccb2
commit a7a28a85a4
2 changed files with 78 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ func SortNodes(nodes []*yaml.RNode) error {
return false
}
if iIndex != jIndex {
return iValue < jValue
return iIndex < jIndex
}
// elements are equal