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