Within the Tournament Director application columns can be sorted appropriately because the application knows the type of each column value. That is, it knows which are text and which are numeric. And sorting values numerically is different than sorting values alphabetically.
The export has sorting added kind of as an afterthought. Because of this, it doesn't know the type of each column and it therefore has to guess. It's a very simple guess: it looks at the value of a column in the first row and checks each character, from left to right. If it finds a letter first, it assumes it is text. If it finds a number first, it assumes it is numeric. It ignores anything not A through Z or 0 through 9. (Actually, to be more accurate it does this for every value in a column, and if it finds more values it considers "numeric" then it assumes the column has numeric values; otherwise it assumes text values.)
The columns you pointed out have an "R" character first and thus the sorting code assumes they are text.
I updated the template to do a slightly more thorough check. Try this one. In a future version of the software, I'll fix this by including type and actual value information in the export, so the sorting code won't have to guess.