The attached patch file was generated by svn diff from the displaytag/src directory of code I checked out from the repository earlier today. It modifies the parts of HtmlTableWriter, TableModel, and TableTag that look at the sortProperty or sortBeanPropertyName properties of HeaderCell to first check the sortName property.
It also fixes the issue described in
DISPL-327, since that got in the way when I was clicking around testing my changes.
I hereby release the modifications contained in this patch file under whatever license is necessary for them to be included in displaytag as it is currently licensed.