public void setSortDirection(SortDir direction) {
assert direction != null && pnl.getWidgetCount() == 1;
this.direction = direction;
final SortDir reverseDir = direction == SortDir.ASC ? SortDir.DESC : SortDir.ASC;
final String reverseTitle = "Sort " + (reverseDir.getName());
// set the title to the reverse of the current sort dir
lnk.setTitle(reverseTitle);
if(imgSortDir == null) {