if (isVersioned())
{
addStateChange();
}
ISortState state = stateLocator.getSortState();
<BUG>int oldDir = state.getPropertySortOrder(property);

int newDir = ISortState.ASCENDING;
if (oldDir == ISortState.ASCENDING)
{
newDir = ISortState.DESCENDING;
}
state.setPropertySortOrder(property, newDir);
</BUG>
return this;

if (isVersioned())
{
addStateChange();
