String.localecompare() for the string with special number and special character sort differently than expected

后端 未结 0 553
名媛妹妹
名媛妹妹 2020-12-16 19:51

I am trying to sort the list items using String.localecompare() function. My items list is given below.

  1. text1172.txt
  2. text1172_1.txt
  3. text.txt
相关标签:
回答
  • 消灭零回复
提交回复
热议问题