WITHIN your backing bean you must have this:
"sortAscending" must be of type boolean with methods:
public boolean isSortAscending() {
return sortAscending;
}
public void setSortAscending(boolean sortAscending) {
this.sortAscending = sortAscending;
}
"sortColumn" must be of type
String with methods:
public String getSortColumn() {
return sortColumn;
}
public void setSortColumn(String sortColumn) {
this.sortColumn = sortColumn;
}
With both of those ALONE you will get the default sort which works when you click on the header title. You can
test this by places breakpoints on the setter and you will see values getting set.
To do customized sorting you have to do it on the t:column level (I think). Take a look at what t:column has to offer as attributes.
As for me I'm learning this for the very first time right now but so far what I have told you works for me.