+
+ public void sort() {
+ if (children == null)
+ return;
+ Collections.sort(this.children, new Comparator<UpdateNode>() {
+ @Override
+ public int compare(UpdateNode o1, UpdateNode o2) {
+ return o1.getLabel().compareTo(o2.getLabel());
+ }
+ });
+ }