Can anybody explain why this code:
Dim Data As New SortedList(StringComparer.InvariantCultureIgnoreCase)
Data.Add("AB", 48)
Data.Add("AC", 48)
Data.Add("A-D", 48)
Data.Add("A-", 48)
Generates sorted list with following order:
A-
AB
AC
A-D
Expected (logical and really wanted) order is:
A-
A-D
AB
AC
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…