2.1-hello
2.2-world
2.3-people
2.10-everywhere
results in this when items are added to a SortedDictionary<String,String>
2.1-hello
2.10-everywhere
2.2-world
2.3-people
What is the best way to get the sort with the behavior decimal/numeric order before the "-" character, with conventional ASCII order/collation after that? Original code was splitting on the "-" and converting the initial parts, which is really not efficient. All ideas appreciated.
Thanks.