code: function sort(recursive) {
           // do nothing if there is already a pending sort
           if (!this.pendingSort) {
             if (recursive === true) {
               // trigger other child container sort function (if any)
               for (var i = this.children.length, obj; i--, obj = this.children[i];) {
                 if (obj instanceof me.Container) {
                   // note : this will generate one defered sorting function
                   // for each existing containe
                   obj.sort(recursive);
                 }
               }
             }
             /** @ignore */
  
  
             this.pendingSort = me.utils.function.defer(function (self) {
               // sort everything in this container
               self.children.sort(self["_sort" + self.sortOn.toUpperCase()]); // clear the defer id
  
               self.pendingSort = null; // make sure we redraw everything
  
               me.game.repaint();
             }, this, this);
           }
         }
docs: Manually trigger the sort of all the childs in the container</p>
  @name sort
  @memberOf me.Container.prototype
  @public
  @function
  @param {Boolean} [recursive=false] recursively sort all containers if true