It appears that sort does not examine the proper fields specified by
'-k' unless the '-n' option is given.
It would be helpful to know which sort locale is in use here; I'll
assume it's en_US. Sort keys can be tricky, but I don't think any of the
examples are bugs...
I think (don't quote me on this) that using -n is equivalent to adding
an "n" suffix to each sort key, i.e. "-k 3,5n -k 5,5n". What's happening
here is that the whitespace terminates the third field number, allowing
the fifth field tie-break to kick in.