code: function(cmp, deep) {
  			var i,
  				l,
  				cl = this.children;
  
  			if (!cl) {
  				return;
  			}
  			cmp =
  				cmp ||
  				function(a, b) {
  					var x = a.title.toLowerCase(),
  						y = b.title.toLowerCase();
  					return x === y ? 0 : x > y ? 1 : -1;
  				};
  			cl.sort(cmp);
  			if (deep) {
  				for (i = 0, l = cl.length; i < l; i++) {
  					if (cl[i].children) {
  						cl[i].sortChildren(cmp, "$norender$");
  					}
  				}
  			}
  			if (deep !== "$norender$") {
  				this.render();
  			}
  			this.triggerModifyChild("sort");
  		}
docs: Sort child list by title.
  @param {function} [cmp] custom compare function(a, b) that returns -1, 0, or 1 (defaults to sort by title).
  @param {boolean} [deep=false] pass true to sort all descendant nodes