Element.implement({'selectAll': function(){this.getChildren().each(function(item,i){item.selected = true})}});
Element.implement({'sort': function(){this.getChildren().each(function(item,i){this.getChildren().each(function(item2,j){if (j > 0 && item2.text < item.text) item2.inject(item,"before")})}.bind(this))}});

