Following up to an issue reported on frwiki here (and here).
A cell that contains this:
<time … data-sort-value="1840">1840</time><br><time … data-sort-value="1889">1889</time>
Ends up with this sort value: 18401889.
The issue has been fixed locally by adding a space next to the <br> tag:
<time … data-sort-value="1840">1840</time> <br><time … data-sort-value="1889">1889</time>
So the sort value has become: 1840 1889.
An improvement in Tablesorter, when parsing the nodes to build the sort value, would be to replace the <br> tags with a space, rather than an empty string. See the code here.
Also, we may want to normalize and remove the consecutive spaces, by adding something like result.replace( /\s+/g, ' ' ). (edit: created T326474 for this)