158159160161162163164165166167168
String[] parts = sortItem.split(":"); String property = parts[0]; String direction = parts.length > 1 ? parts[1] : "ASC"; String root = parts.length > 2 ? parts[2] : null; store.sort(property, direction, root); } } /* * Buffering
174175176177178179180181182183184