diff --git a/kernel/av/table.go b/kernel/av/table.go index 5bd0177f667..4ca32391558 100644 --- a/kernel/av/table.go +++ b/kernel/av/table.go @@ -162,6 +162,9 @@ func (value *Value) Compare(other *Value) int { } return strings.Compare(v1, v2) } + if nil != value.Template && nil != other.Template { + return strings.Compare(value.Template.Content, other.Template.Content) + } return 0 }