Issue #5096: Performance Optimization of cc.Node.sortAllChildren

Performance Optimization of cc.Node.sortAllChildren