@@ -68,7 +68,7 @@ func (value *Value) Compare(other *Value, attrView *AttributeView) int {
6868 return 0
6969 }
7070
71- if util .PinYinCompare (value .Text .Content , other .Text .Content ) {
71+ if util .EmojiPinYinCompare (value .Text .Content , other .Text .Content ) {
7272 return - 1
7373 }
7474 return 1
@@ -243,7 +243,7 @@ func (value *Value) Compare(other *Value, attrView *AttributeView) int {
243243 return 0
244244 }
245245
246- if util .PinYinCompare (v1 , v2 ) {
246+ if util .EmojiPinYinCompare (v1 , v2 ) {
247247 return - 1
248248 }
249249 return 1
@@ -266,7 +266,7 @@ func (value *Value) Compare(other *Value, attrView *AttributeView) int {
266266 return 0
267267 }
268268
269- if util .PinYinCompare (value .Template .Content , other .Template .Content ) {
269+ if util .EmojiPinYinCompare (value .Template .Content , other .Template .Content ) {
270270 return - 1
271271 }
272272 return 1
@@ -314,7 +314,7 @@ func (value *Value) Compare(other *Value, attrView *AttributeView) int {
314314 return 0
315315 }
316316
317- if util .PinYinCompare (vContent , oContent ) {
317+ if util .EmojiPinYinCompare (vContent , oContent ) {
318318 return - 1
319319 }
320320 return 1
@@ -352,7 +352,7 @@ func (value *Value) Compare(other *Value, attrView *AttributeView) int {
352352 return 0
353353 }
354354
355- if util .PinYinCompare (vContent , oContent ) {
355+ if util .EmojiPinYinCompare (vContent , oContent ) {
356356 return - 1
357357 }
358358 return 1
0 commit comments