public int getSortField() {
        return sortField;
    }
Returns the currently selected sort field. The default value is
SessionResultFilter.SORT_LAST_ACTIVITY_DATE.

@return current sort field.
xmppserver/src/main/java/org/jivesoftware/openfire/SessionResultFilter.java