src/renderable/container.js
function (a, b) {
            if (!b.pos || !a.pos) {
                return (a.pos ? -Infinity : Infinity);
            }
            var result = b.pos.z - a.pos.z;
            return (result ? result : (b.pos.x - a.pos.x));
        }
function (a, b) {
            if (!b.pos || !a.pos) {
                return (a.pos ? -Infinity : Infinity);
            }
            var result = b.pos.z - a.pos.z;
            return (result ? result : (b.pos.x - a.pos.x));
        }
function ( a , b ) { if ( ! b . pos || ! a . pos ) { return ( a . pos ? - Infinity : Infinity ) ; } var result = b . pos . z - a . pos . z ; return ( result ? result : ( b . pos . x - a . pos . x ) ) ; }
X Sorting function
@ignore
X Sorting function