xlab / handysort

Alphanumeric string sorting algorithm implementation in Go
MIT License
24 stars 3 forks source link

Yet Another #4

Closed johnrs closed 9 years ago

johnrs commented 9 years ago

Sorry, but I found another case which fails: []string{"1a10", "1", "2"} ==> [1 2 1a10]

Also []string{"083a", "9a"} ==> [083a 9a]

And []string{"a1", "a#1", "a_1", "aa"} ==> [a#1 a1 a_1 aa] []string{"1", "#1", "_1", "a"} ==> [#1 1 _1 a]