Sort optimization.
Change-Id: I2b75de400acde7fe23574d6439b75e6f05b4eb55
final Container c = getContainerDataSource();
if (c instanceof Container.Sortable) {
final int pageIndex = getCurrentPageFirstItemIndex();
+ boolean refreshingPreviouslyEnabled = disableContentRefreshing();
((Container.Sortable) c).sort(propertyId, ascending);
setCurrentPageFirstItemIndex(pageIndex);
- refreshRowCache();
+ if (refreshingPreviouslyEnabled) {
+ enableContentRefreshing(true);
+ }
} else if (c != null) {
throw new UnsupportedOperationException(