protected void doApplyStoreState(Map<String, Object> state) {
String sortField = (String) state.get("sortField");
if ((store.getLoader() == null || !store.getLoader().isRemoteSort()) && sortField != null) {
String sortDir = (String) state.get("sortDir");
SortDir dir = SortDir.findDir(sortDir);
store.sort(sortField, dir);
}
}