addEntity(entity, skipSort)
    {
        super.addEntity(entity);

        if (!skipSort) this.sortEntities();
    }
/**
     * Add an entity to the renderer.
     *
     * Note: Since adding an entity causes the entity list to be sorted (to ensure renderPriority
     * and grouping is correct), this method can be expensive when you have a large list. As such
     * it is recommended not to Add/Remove entities many times per frame.
     *
     * @param {Entity} entity - The entity to add.
     * @param {boolean} skipSort - If true, will not sort the entities automatically.
     *  Setting this to true requires you call {@link Renderer#sortEntities} manually. This
     *  can be useful if you are adding a large batch of entities in a single frame and want
     *  to delay the sorting until after they are all added.
     */
Add an entity to the renderer.
Note: Since adding an entity causes the entity list to be sorted (to ensure renderPriority
and grouping is correct), this method can be expensive when you have a large list. As such
it is recommended not to Add/Remove entities many times per frame.

@param {Entity} entity - The entity to add.
@param {boolean} skipSort - If true, will not sort the entities automatically.
Setting this to true requires you call  Renderer#sortEntities manually. This
can be useful if you are adding a large batch of entities in a single frame and want
to delay the sorting until after they are all added.
Add an entity to the renderer . Note : Since adding an entity causes the entity list to be sorted ( to ensure renderPriority and grouping is correct ) this method can be expensive when you have a large list . As such it is recommended not to Add / Remove entities many times per frame . @param { Entity } entity - The entity to add . @param { boolean } skipSort - If true will not sort the entities automatically . Setting this to true requires you call Renderer#sortEntities manually . This can be useful if you are adding a large batch of entities in a single frame and want to delay the sorting until after they are all added .
addEntity(entity, skipSort)
    {
        super.addEntity(entity);
        if (!skipSort) this.sortEntities();
    }
addEntity ( entity , skipSort ) { super . addEntity ( entity ) ; if ( ! skipSort ) this . sortEntities ( ) ; }
Add an entity to the renderer.
Add an entity to the renderer .