getInnerText does not flatten whitespace, so if you return
“foo bar baz”
from one cell and
from another, they won’t sort next to one another.
Back to the sorttable bug list